| Modifier and Type | Method and Description |
|---|---|
static <ELEMENTTYPE> |
ContainerHelper.getIterator(Enumeration<? extends ELEMENTTYPE> aEnum) |
| Modifier and Type | Method and Description |
|---|---|
static int |
ContainerHelper.getSize(IIterableIterator<?> aIterator)
Retrieve the size of the passed
Iterable. |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
ContainerHelper.getSorted(IIterableIterator<? extends ELEMENTTYPE> aIter)
Convert the given iterator to a sorted list.
|
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
ContainerHelper.getSorted(IIterableIterator<? extends ELEMENTTYPE> aIter,
Comparator<? super ELEMENTTYPE> aComparator)
Convert the given iterator to a sorted list.
|
static boolean |
ContainerHelper.isEmpty(IIterableIterator<?> aIter) |
static boolean |
ContainerHelper.isNotEmpty(IIterableIterator<?> aIter) |
static <ELEMENTTYPE> |
ContainerHelper.newList(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
ContainerHelper.newOrderedSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
ContainerHelper.newQueue(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
ContainerHelper.newSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
ContainerHelper.newSortedSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
ContainerHelper.newUnmodifiableList(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
ContainerHelper.newUnmodifiableOrderedSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
ContainerHelper.newUnmodifiableSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
ContainerHelper.newUnmodifiableSortedSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
ContainerHelper.newVector(IIterableIterator<? extends ELEMENTTYPE> aIter) |
| Modifier and Type | Class and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static <ELEMENTTYPE> |
IterableIterator.create(ELEMENTTYPE[] aCont) |
static <ELEMENTTYPE> |
IterableIterator.create(Iterable<ELEMENTTYPE> aCont) |
static <ELEMENTTYPE> |
IterableIterator.create(Iterator<ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
IterableIterator.createEmpty() |
| Modifier and Type | Class and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
FilterIterator(IIterableIterator<? extends ELEMENTTYPE> aBaseIter,
IFilter<ELEMENTTYPE> aFilter)
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 | Method and Description |
|---|---|
static IIterableIterator<File> |
FileSystemRecursiveIterator.create(File fBaseDir,
FileFilter... aFileFilters)
Create a new iterator that recursively descends into sub-directories
starting from the given base directory.
|
static IIterableIterator<File> |
FileSystemIterator.create(File fBaseDir,
FileFilter... aFileFilters)
Create a new non-recursive file system iterator that uses multiple
FileFilter objects that all need to match. |
static IIterableIterator<File> |
FileSystemRecursiveIterator.create(File fBaseDir,
FileFilter aFileFilter)
Create a new iterator that recursively descends into sub-directories
starting from the given base directory.
|
static IIterableIterator<File> |
FileSystemIterator.create(File fBaseDir,
FileFilter aFileFilter)
Create a new non-recursive file system iterator that uses a certain
FileFilter. |
static IIterableIterator<File> |
FileSystemRecursiveIterator.create(File fBaseDir,
FilenameFilter... aFilenameFilters)
Create a new iterator that recursively descends into sub-directories
starting from the given base directory.
|
static IIterableIterator<File> |
FileSystemIterator.create(File fBaseDir,
FilenameFilter... aFilenameFilters)
Create a new non-recursive file system iterator that uses multiple
FilenameFilter objects that all need to match. |
static IIterableIterator<File> |
FileSystemRecursiveIterator.create(File fBaseDir,
FilenameFilter aFilenameFilter)
Create a new iterator that recursively descends into sub-directories
starting from the given base directory.
|
static IIterableIterator<File> |
FileSystemIterator.create(File fBaseDir,
FilenameFilter aFilenameFilter)
Create a new non-recursive file system iterator that uses a certain
FilenameFilter. |
static IIterableIterator<File> |
FileSystemRecursiveIterator.create(String sBaseDir,
FileFilter... aFileFilters)
Create a new iterator that recursively descends into sub-directories
starting from the given base directory.
|
static IIterableIterator<File> |
FileSystemIterator.create(String sBaseDir,
FileFilter... aFileFilters)
Create a new non-recursive file system iterator that uses multiple
FileFilter objects that all need to match. |
static IIterableIterator<File> |
FileSystemRecursiveIterator.create(String sBaseDir,
FileFilter aFileFilter)
Create a new iterator that recursively descends into sub-directories
starting from the given base directory.
|
static IIterableIterator<File> |
FileSystemIterator.create(String sBaseDir,
FileFilter aFileFilter)
Create a new non-recursive file system iterator that uses a certain
FileFilter. |
static IIterableIterator<File> |
FileSystemRecursiveIterator.create(String sBaseDir,
FilenameFilter... aFilenameFilters)
Create a new iterator that recursively descends into sub-directories
starting from the given base directory.
|
static IIterableIterator<File> |
FileSystemIterator.create(String sBaseDir,
FilenameFilter... aFilenameFilters)
Create a new non-recursive file system iterator that uses multiple
FilenameFilter objects that all need to match. |
static IIterableIterator<File> |
FileSystemRecursiveIterator.create(String sBaseDir,
FilenameFilter aFilenameFilter)
Create a new iterator that recursively descends into sub-directories
starting from the given base directory.
|
static IIterableIterator<File> |
FileSystemIterator.create(String sBaseDir,
FilenameFilter aFilenameFilter)
Create a new non-recursive file system iterator that uses a certain
FilenameFilter. |
| 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 © 2006–2015 phloc systems. All rights reserved.