| 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> |
QueueHelper.newQueue(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
CollectionHelper.newSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.newSortedSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
VectorHelper.newVector(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(IFilter<? super ELEMENTTYPE> aFilter) |
default <DSTTYPE> IIterableIterator<DSTTYPE> |
IIterableIterator.withMapper(Function<? super ELEMENTTYPE,? extends DSTTYPE> aMapper) |
| Constructor and Description |
|---|
FilterIterator(IIterableIterator<? extends ELEMENTTYPE> aBaseIter,
IFilter<? super ELEMENTTYPE> aFilter)
Constructor.
|
MapperIterator(IIterableIterator<? extends SRCTYPE> aBaseIter,
Function<? 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MicroRecursiveIterator
Class for recursively visiting all elements of a micro node
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChildElementIterator
Iterate child elements of a single node.
|
class |
ChildNodeIterator
Iterate child elements of a single node.
|
class |
RecursiveChildNodeIterator
Iterate all children of the start node, but NOT the start node itself.
|
| Modifier and Type | Method and Description |
|---|---|
static IIterableIterator<Element> |
XMLHelper.getChildElementIteratorNoNS(Node aStartNode)
Get an iterator over all child elements that have no namespace.
|
static IIterableIterator<Element> |
XMLHelper.getChildElementIteratorNoNS(Node aStartNode,
String sTagName)
Get an iterator over all child elements that have no namespace and the
desired tag name.
|
static IIterableIterator<Element> |
XMLHelper.getChildElementIteratorNS(Node aStartNode,
String sNamespaceURI) |
static IIterableIterator<Element> |
XMLHelper.getChildElementIteratorNS(Node aStartNode,
String sNamespaceURI,
String sLocalName) |
Copyright © 2014–2016 Philip Helger. All rights reserved.