StackCapacity<T> class

Constructors

StackCapacity(int capacity)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
peek() → T
Returns element at top of stack
pop() → T
Removing element from stack throws exception if stack is empty
push(T item) → void
Adding element from stack
size() int
Returns total element present at current
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited