it.unimi.dsi.fastutil.booleans
Interface BooleanStack
- All Superinterfaces:
- Stack
- All Known Implementing Classes:
- AbstractBooleanList, AbstractBooleanStack
- public interface BooleanStack
- extends Stack
A type-specific Stack
; provides some additional methods that use polymorphism to reduce type juggling.
push
public void push(boolean k)
- See Also:
Stack.push(Object)
popBoolean
public boolean popBoolean()
- See Also:
Stack.pop()
topBoolean
public boolean topBoolean()
- See Also:
Stack.top()
peekBoolean
public boolean peekBoolean(int i)
- See Also:
Stack.peek(int)