| Modifier and Type | Method and Description |
|---|---|
static <ELEMENTTYPE> |
ArrayHelper.getAll(ELEMENTTYPE[] aArray,
Predicate<? super ELEMENTTYPE> aFilter) |
static <ELEMENTTYPE,RETTYPE> |
ArrayHelper.getAllMapped(ELEMENTTYPE[] aArray,
Predicate<? super ELEMENTTYPE> aFilter,
Function<? super ELEMENTTYPE,RETTYPE> aMapper) |
static CommonsArrayList<?> |
CollectionHelper.getAsList(Object aObj)
Get the passed object as a
CommonsArrayList object. |
static <ELEMENTTYPE> |
CollectionHelper.getConcatenatedList(Collection<? extends ELEMENTTYPE> aCollection1,
Collection<? extends ELEMENTTYPE> aCollection2) |
static <ELEMENTTYPE> |
CollectionHelper.getConcatenatedList(Collection<? extends ELEMENTTYPE> aCont1,
ELEMENTTYPE... aCont2) |
static <ELEMENTTYPE> |
CollectionHelper.getConcatenatedList(ELEMENTTYPE[] aCont1,
Collection<? extends ELEMENTTYPE> aCont2) |
static <ELEMENTTYPE> |
CollectionHelper.getReverseList(Collection<? extends ELEMENTTYPE> aCollection) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.getSorted(Collection<? extends ELEMENTTYPE> aCont)
Convert the given collection object to a sorted list.
|
static <ELEMENTTYPE> |
CollectionHelper.getSorted(Collection<? extends ELEMENTTYPE> aCont,
Comparator<? super ELEMENTTYPE> aComparator)
Convert the given collection object to a sorted list.
|
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.getSorted(ELEMENTTYPE... aCont)
Convert the given iterable object to a sorted list.
|
static <ELEMENTTYPE> |
CollectionHelper.getSorted(ELEMENTTYPE[] aCont,
Comparator<? super ELEMENTTYPE> aComparator)
Convert the given iterable object to a sorted list.
|
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.getSorted(IIterableIterator<? extends ELEMENTTYPE> aIter)
Convert the given iterator to a sorted list.
|
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.getSorted(IIterableIterator<? extends ELEMENTTYPE> aIter,
Comparator<? super ELEMENTTYPE> aComparator)
Convert the given iterator to a sorted list.
|
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.getSorted(Iterable<? extends ELEMENTTYPE> aCont)
Convert the given iterable object to a sorted list.
|
static <ELEMENTTYPE> |
CollectionHelper.getSorted(Iterable<? extends ELEMENTTYPE> aCont,
Comparator<? super ELEMENTTYPE> aComparator)
Convert the given iterable object to a sorted list.
|
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.getSorted(Iterator<? extends ELEMENTTYPE> aIter)
Convert the given iterator to a sorted list.
|
static <ELEMENTTYPE> |
CollectionHelper.getSorted(Iterator<? extends ELEMENTTYPE> aIter,
Comparator<? super ELEMENTTYPE> aComparator)
Convert the given iterator to a sorted list.
|
static <ELEMENTTYPE> |
CollectionHelper.getSubList(List<ELEMENTTYPE> aCont,
int nStartIndex,
int nSectionLength)
Gets a sublist excerpt of the passed list.
|
static <ELEMENTTYPE> |
CollectionHelper.newList() |
static <ELEMENTTYPE> |
CollectionHelper.newList(Collection<? extends ELEMENTTYPE> aCont) |
static <ELEMENTTYPE> |
CollectionHelper.newList(Collection<? extends ELEMENTTYPE> aCollection,
Predicate<? super ELEMENTTYPE> aFilter) |
static <ELEMENTTYPE> |
CollectionHelper.newList(ELEMENTTYPE... aValues) |
static <ELEMENTTYPE> |
CollectionHelper.newList(ELEMENTTYPE aValue) |
static <ELEMENTTYPE> |
CollectionHelper.newList(Enumeration<? extends ELEMENTTYPE> aEnum)
Compared to
Collections.list(Enumeration) this method is more
flexible in Generics parameter. |
static <ELEMENTTYPE> |
CollectionHelper.newList(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
CollectionHelper.newList(int nInitialCapacity) |
static <ELEMENTTYPE> |
CollectionHelper.newList(Iterable<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
CollectionHelper.newList(Iterator<? extends ELEMENTTYPE> aIter) |
static <SRCTYPE,DSTTYPE> |
CollectionHelper.newListMapped(Collection<? extends SRCTYPE> aCollection,
Function<? super SRCTYPE,? extends DSTTYPE> aMapper) |
static <ELEMENTTYPE,DSTTYPE> |
CollectionHelper.newListMapped(Iterable<? extends ELEMENTTYPE> aIter,
Function<? super ELEMENTTYPE,? extends DSTTYPE> aMapper) |
static <ELEMENTTYPE,DSTTYPE> |
CollectionHelper.newListMapped(Iterable<? extends ELEMENTTYPE> aCollection,
Predicate<? super ELEMENTTYPE> aFilter,
Function<? super ELEMENTTYPE,? extends DSTTYPE> aMapper) |
static <SRCTYPE,DSTTYPE> |
CollectionHelper.newListMapped(SRCTYPE[] aValues,
Function<? super SRCTYPE,? extends DSTTYPE> aMapper) |
static <ELEMENTTYPE> |
CollectionHelper.newListPrefilled(ELEMENTTYPE aValue,
int nElements) |
static CommonsArrayList<?> |
CollectionHelper.newObjectListFromArray(Object aValue,
Class<?> aComponentType) |
static CommonsArrayList<Boolean> |
PrimitiveCollectionHelper.newPrimitiveList(boolean... aValues) |
static CommonsArrayList<Byte> |
PrimitiveCollectionHelper.newPrimitiveList(byte... aValues) |
static CommonsArrayList<Character> |
PrimitiveCollectionHelper.newPrimitiveList(char... aValues) |
static CommonsArrayList<Double> |
PrimitiveCollectionHelper.newPrimitiveList(double... aValues) |
static CommonsArrayList<Float> |
PrimitiveCollectionHelper.newPrimitiveList(float... aValues) |
static CommonsArrayList<Integer> |
PrimitiveCollectionHelper.newPrimitiveList(int... aValues) |
static CommonsArrayList<Long> |
PrimitiveCollectionHelper.newPrimitiveList(long... aValues) |
static CommonsArrayList<Short> |
PrimitiveCollectionHelper.newPrimitiveList(short... aValues) |
| Modifier and Type | Method and Description |
|---|---|
CommonsArrayList<ELEMENTTYPE> |
CommonsArrayList.getClone() |
| Modifier and Type | Class and Description |
|---|---|
class |
NonBlockingStack<ELEMENTTYPE>
A version of a stack that does not use
Vector but an
CommonsArrayList as the underlying data structure as opposed to
Stack. |
class |
SafeArrayList<ELEMENTTYPE>
This is a specialized
CommonsArrayList that can handle read accesses on
list items that are not yet in the container. |
| Modifier and Type | Method and Description |
|---|---|
protected CommonsArrayList<VALUETYPE> |
MultiWeakHashMapArrayListBased.createNewCollection() |
protected CommonsArrayList<VALUETYPE> |
MultiTreeMapArrayListBased.createNewCollection() |
protected CommonsArrayList<VALUETYPE> |
MultiLinkedHashMapArrayListBased.createNewCollection() |
protected CommonsArrayList<VALUETYPE> |
MultiHashMapArrayListBased.createNewCollection() |
protected CommonsArrayList<VALUETYPE> |
MultiConcurrentHashMapArrayListBased.createNewCollection() |
| Modifier and Type | Class and Description |
|---|---|
class |
KeyValuePairList<DATA1TYPE,DATA2TYPE>
This is a helper class that wraps a list of pair objects.
|
Copyright © 2014–2016 Philip Helger. All rights reserved.