Class ImmutableList<E>
java.lang.Object
ch.nolix.base.independent.immutablelist.ImmutableList<E>
- Type Parameters:
E- is the type of the elements of aImmutableList.
- All Implemented Interfaces:
Iterable<E>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ImmutableList<T> iterator()static <T> ImmutableList<T> withElement(T element, T... elements) static <T> ImmutableList<T> withElements(T[] array) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
createEmptyList
-
withElement
-
withElements
-
iterator
-