Deque<T> class
List-backed implementation of DequeBase using growable List. Provides append/pop from both left and right ends.
- Implemented types
-
- DequeBase<
T>
- DequeBase<
Constructors
Properties
Methods
-
appendLeft(
T value) → void -
override
-
appendRight(
T value) → void -
override
-
clear(
) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
peekLeft(
) → T? -
override
-
peekRight(
) → T? -
override
-
popLeft(
) → T? -
override
-
popRight(
) → T? -
override
-
prettyPrint(
) → String -
override
-
toList(
) → List< T> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited