程序包 | 说明 |
---|---|
com.fr.stable.collections.array | |
com.fr.stable.collections.map | |
com.fr.stable.collections.utils |
限定符和类型 | 方法和说明 |
---|---|
static <T> Array<T> |
Array.of(boolean ordered,
int capacity,
java.lang.Class<T> arrayType) |
static <T> Array<T> |
Array.of(java.lang.Class<T> arrayType) |
static <T> Array<T> |
Array.with(T... array) |
限定符和类型 | 方法和说明 |
---|---|
void |
Array.addAll(Array<? extends T> array) |
void |
Array.addAll(Array<? extends T> array,
int start,
int count) |
void |
Pool.freeAll(Array<T> objects)
Puts the specified objects in the pool.
|
boolean |
Array.removeAll(Array<? extends T> array,
boolean identity)
Removes from this array all of elements contained in the specified array.
|
构造器和说明 |
---|
Array.ArrayIterable(Array<T> array) |
Array.ArrayIterable(Array<T> array,
boolean allowRemove) |
Array.ArrayIterator(Array<T> array) |
Array.ArrayIterator(Array<T> array,
boolean allowRemove) |
Array(Array<? extends T> array)
Creates a new array containing the elements in the specified array.
|
限定符和类型 | 方法和说明 |
---|---|
Array<T> |
OrderedSet.orderedItems() |
Array<K> |
OrderedMap.orderedKeys() |
Array<K> |
ObjectSet.ObjectSetIterator.toArray()
Returns a new array containing the remaining values.
|
Array<V> |
ObjectMap.Values.toArray()
Returns a new array containing the remaining values.
|
Array<K> |
ObjectMap.Keys.toArray()
Returns a new array containing the remaining keys.
|
Array<K> |
ObjectIntMap.Keys.toArray()
Returns a new array containing the remaining keys.
|
Array<K> |
ObjectFloatMap.Keys.toArray()
Returns a new array containing the remaining keys.
|
Array<V> |
LongMap.Values.toArray()
Returns a new array containing the remaining values.
|
Array<V> |
IntMap.Values.toArray()
Returns a new array containing the remaining values.
|
Array<K> |
ObjectSet.ObjectSetIterator.toArray(Array<K> array)
Adds the remaining values to the array.
|
Array<K> |
ObjectMap.Keys.toArray(Array<K> array)
Adds the remaining keys to the array.
|
Array<K> |
ObjectIntMap.Keys.toArray(Array<K> array)
Adds the remaining keys to the array.
|
Array<K> |
ObjectFloatMap.Keys.toArray(Array<K> array)
Adds the remaining keys to the array.
|
Array<V> |
ObjectMap.Values.toArray(Array<V> array)
Adds the remaining values to the specified array.
|
限定符和类型 | 方法和说明 |
---|---|
void |
ObjectSet.addAll(Array<? extends T> array) |
void |
ObjectSet.addAll(Array<? extends T> array,
int offset,
int length) |
Array<K> |
ObjectSet.ObjectSetIterator.toArray(Array<K> array)
Adds the remaining values to the array.
|
Array<K> |
ObjectMap.Keys.toArray(Array<K> array)
Adds the remaining keys to the array.
|
Array<K> |
ObjectIntMap.Keys.toArray(Array<K> array)
Adds the remaining keys to the array.
|
Array<K> |
ObjectFloatMap.Keys.toArray(Array<K> array)
Adds the remaining keys to the array.
|
Array<V> |
ObjectMap.Values.toArray(Array<V> array)
Adds the remaining values to the specified array.
|
限定符和类型 | 方法和说明 |
---|---|
<T> void |
Sort.sort(Array<T> a) |
<T> void |
Sort.sort(Array<T> a,
java.util.Comparator<? super T> c) |