class ExpandableIndexableImpl
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static int |
LARGE_SIZE_LIMIT |
(package private) static int |
PART_SIZE
Partition size.
|
Constructor and Description |
---|
ExpandableIndexableImpl() |
Modifier and Type | Method and Description |
---|---|
(package private) static <E> de.caff.generics.ExpandableIndexableImpl.ExpandableIndexableNode<E> |
fromArray(E... values)
Create an expandable int indexable node from the given values.
|
(package private) static <E> de.caff.generics.ExpandableIndexableImpl.ExpandableIndexableNode<E> |
fromArray(E[] values,
int start,
int length)
Create an expandable int indexable node from the given values.
|
(package private) static <E> de.caff.generics.ExpandableIndexableImpl.ExpandableIndexableNode<E> |
fromIndexable(Indexable<? extends E> indexable)
Create an expandable integer indexable node from a given indexable.
|
static int |
size(Indexable<?>[] indexables) |
static final int PART_SIZE
static final int LARGE_SIZE_LIMIT
@NotNull static <E> de.caff.generics.ExpandableIndexableImpl.ExpandableIndexableNode<E> fromArray(E[] values, int start, int length)
E
- element typevalues
- integer array with valuesstart
- start index into array to first element to be copiedlength
- number of elements to copy@NotNull @SafeVarargs static <E> de.caff.generics.ExpandableIndexableImpl.ExpandableIndexableNode<E> fromArray(E... values)
E
- element typevalues
- integer array with values@NotNull static <E> de.caff.generics.ExpandableIndexableImpl.ExpandableIndexableNode<E> fromIndexable(@NotNull Indexable<? extends E> indexable)
E
- element typeindexable
- indexable defining the values of the returned indexable