it.unimi.dsi.fastutil.shorts
Interface ShortStack
- All Superinterfaces:
- Stack
- All Known Implementing Classes:
- AbstractShortList, AbstractShortStack
- public interface ShortStack
- extends Stack
A type-specific Stack
; provides some additional methods that use polymorphism to reduce type juggling.
push
public void push(short k)
- See Also:
Stack.push(Object)
popShort
public short popShort()
- See Also:
Stack.pop()
topShort
public short topShort()
- See Also:
Stack.top()
peekShort
public short peekShort(int i)
- See Also:
Stack.peek(int)