Package com.landawn.abacus.util
Class ImmutableArray<T>
java.lang.Object
com.landawn.abacus.util.ImmutableArray<T>
- All Implemented Interfaces:
Immutable
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy
(int fromIndex, int toIndex) static <T> ImmutableArray<T>
copyOf
(T[] elements) boolean
<E extends Exception>
voidforEach
(Throwables.Consumer<T, E> consumer) <E extends Exception>
voidforEachIndexed
(Throwables.IndexedConsumer<T, E> consumer) get
(int index) int
hashCode()
static <T> ImmutableArray<T>
of
(T[] elements) stream()
toString()
-
Field Details
-
length
public final int length
-
-
Method Details