| Package | Description |
|---|---|
| com.helger.commons.collection | |
| com.helger.commons.collection.impl | |
| com.helger.commons.error.list | |
| com.helger.commons.url |
| 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. |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
static <ELEMENTTYPE> |
CommonsArrayList.createFiltered(ELEMENTTYPE[] aValues,
Predicate<? super ELEMENTTYPE> aFilter)
Create a new array list that contains a subset of the provided array.
|
static <ELEMENTTYPE> |
CommonsArrayList.createFiltered(Iterable<? extends ELEMENTTYPE> aValues,
Predicate<? super ELEMENTTYPE> aFilter)
Create a new array list that contains a subset of the provided
iterable.
|
static <SRCTYPE,ELEMENTTYPE> |
CommonsArrayList.createFiltered(Iterable<? extends SRCTYPE> aValues,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper,
Predicate<? super ELEMENTTYPE> aFilter)
Create a new array list that contains a subset of the provided iterable.
|
static <SRCTYPE,ELEMENTTYPE> |
CommonsArrayList.createFiltered(Iterable<? extends SRCTYPE> aValues,
Predicate<? super SRCTYPE> aFilter,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
Create a new array list that contains a subset of the provided iterable.
|
static <SRCTYPE,ELEMENTTYPE> |
CommonsArrayList.createFiltered(SRCTYPE[] aValues,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper,
Predicate<? super ELEMENTTYPE> aFilter)
Create a new array list that contains a subset of the provided array.
|
static <SRCTYPE,ELEMENTTYPE> |
CommonsArrayList.createFiltered(SRCTYPE[] aValues,
Predicate<? super SRCTYPE> aFilter,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
Create a new array list that contains a subset of the provided array.
|
<T> CommonsArrayList<T> |
CommonsArrayList.createInstance() |
CommonsArrayList<ELEMENTTYPE> |
CommonsArrayList.getClone() |
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorList
Default implementation of
IErrorList. |
| Modifier and Type | Class and Description |
|---|---|
class |
URLParameterList
A list of URL parameters with a sanity API.
|
Copyright © 2014–2019 Philip Helger. All rights reserved.