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

ILazyListBuilder()

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 elems to this builder and returns this.
addOne(A elem) ILazyListBuilder<A>
Appends a single element elem to this builder and returns this.
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