ILazyListBuilder<A> class
final
A mutable builder for constructing ILazyList instances.
Elements are appended lazily; the output list is not evaluated until iterated. Obtain via ILazyList.builder.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addAll(
RIterableOnce< A> elems) → ILazyListBuilder<A> -
Appends all elements from
elemsto this builder and returnsthis. -
addOne(
A elem) → ILazyListBuilder< A> -
Appends a single element
elemto this builder and returnsthis. -
clear(
) → void - Resets this builder to an empty state so it can be reused.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
result(
) → ILazyList< A> - Returns the ILazyList containing all elements added so far.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited