Package org.javimmutable.collections
Class ILists
java.lang.Object
org.javimmutable.collections.ILists
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> IList
<T> Efficiently produces aIList
containing all of the values in source built atop a balanced binary tree.static <T> IList
<T> Efficiently produces aIList
containing 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 emptyIList
built atop a balanced binary tree.static <T> IList
<T> of
(T... values) Efficiently produces aIList
containing all of the specified values built atop a balanced binary tree.
-
Method Details
-
of
Produces an emptyIList
built atop a balanced binary tree. -
of
Efficiently produces aIList
containing all of the specified values built atop a balanced binary tree. -
allOf
Efficiently produces aIList
containing all of the values in source built atop a balanced binary tree. -
allOf
Efficiently produces aIList
containing 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.
-