| Package | Description |
|---|---|
| com.helger.commons.collection | |
| com.helger.commons.collection.impl | |
| com.helger.commons.collection.iterate | |
| com.helger.commons.io.file | |
| com.helger.commons.math |
| Modifier and Type | Method and Description |
|---|---|
static <ELEMENTTYPE> |
IteratorHelper.getIterator(Enumeration<? extends ELEMENTTYPE> aEnum) |
| Modifier and Type | Method and Description |
|---|---|
static int |
IteratorHelper.getSize(IIterableIterator<?> aIterator)
Retrieve the size of the passed
Iterable. |
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 boolean |
IteratorHelper.isEmpty(IIterableIterator<?> aIter) |
static boolean |
IteratorHelper.isNotEmpty(IIterableIterator<?> aIter) |
static <ELEMENTTYPE> |
CollectionHelper.newList(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
CollectionHelper.newOrderedSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
CollectionHelper.newSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.newSortedSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
| Modifier and Type | Method and Description |
|---|---|
default IIterableIterator<ELEMENTTYPE> |
ICommonsCollection.iterator2() |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayIterator<ELEMENTTYPE>
This is a small helper class for iterating over arrays.
|
class |
FilterIterator<ELEMENTTYPE>
A simple filter iterator that takes a base iterator and an additional filter
and returns only the items that match the filter.
|
class |
IterableIterator<ELEMENTTYPE>
This class is used for simpler iteration over an Iterator via the new "for"
syntax.
|
class |
IterableIteratorFromEnumeration<ELEMENTTYPE>
Create an iterable iterator from an existing enumeration.
|
class |
MapperIterator<SRCTYPE,ELEMENTTYPE>
A simple iterator that changes the object type from a source type to a
destination type.
|
| Modifier and Type | Method and Description |
|---|---|
static <ELEMENTTYPE> |
IterableIterator.createEmpty() |
default IIterableIterator<ELEMENTTYPE> |
IIterableIterator.withFilter(IPredicate<? super ELEMENTTYPE> aFilter) |
default <DSTTYPE> IIterableIterator<DSTTYPE> |
IIterableIterator.withMapper(IFunction<? super ELEMENTTYPE,? extends DSTTYPE> aMapper) |
| Constructor and Description |
|---|
FilterIterator(IIterableIterator<? extends ELEMENTTYPE> aBaseIter,
IPredicate<? super ELEMENTTYPE> aFilter)
Constructor.
|
MapperIterator(IIterableIterator<? extends SRCTYPE> aBaseIter,
IFunction<? super SRCTYPE,? extends ELEMENTTYPE> aConverter)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileSystemIterator
Iterate over the content of a single directory.
|
class |
FileSystemRecursiveIterator
Recursively iterate the content of a file system directory.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CombinationGenerator<DATATYPE>
Utility class for generating all possible combinations of elements for a
specified number of available slots.
|
Copyright © 2014–2019 Philip Helger. All rights reserved.