CircularList<T> class
Constructors
- CircularList.new(int maxLength)
Properties
Methods
-
clear(
) → void -
forEach(
void callback(T item)) → void -
insert(
int index, T item) → void -
Inserts
item
atindex
. -
insertAll(
int index, List< T> items) → void -
Inserts
items
atindex
in order. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pop(
) → T - Removes and returns the last value on the list
-
push(
T value) → void -
pushAll(
Iterable< T> items) → void -
remove(
int index, [int count = 1]) → void -
Deletes item at
index
. -
replaceWith(
List< T> replacement) → void -
shiftElements(
int start, int count, int offset) → void -
toList(
) → List< T> -
toString(
) → String -
A string representation of this object.
inherited
-
trimStart(
int count) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
int index) → T -
operator []=(
int index, T value) → void