Package org.javimmutable.collections
Class ILists
java.lang.Object
org.javimmutable.collections.ILists
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> IList<T> Efficiently produces aIListcontaining all of the values in source built atop a balanced binary tree.static <T> IList<T> Efficiently produces aIListcontaining all of the values in source built atop a balanced binary tree.static <T> IListBuilder<T> builder()Produces a Builder for efficiently constructing a IList built atop a balanced binary tree.static <T> IList<T> of()Produces an emptyIListbuilt atop a balanced binary tree.static <T> IList<T> of(T... values) Efficiently produces aIListcontaining all of the specified values built atop a balanced binary tree.
-
Method Details
-
of
Produces an emptyIListbuilt atop a balanced binary tree. -
of
Efficiently produces aIListcontaining all of the specified values built atop a balanced binary tree. -
allOf
Efficiently produces aIListcontaining all of the values in source built atop a balanced binary tree. -
allOf
Efficiently produces aIListcontaining all of the values in source built atop a balanced binary tree. -
builder
Produces a Builder for efficiently constructing a IList built atop a balanced binary tree.
-