Package com.saperion.common.lang.iterator
Contains standard iterator classes.
-
Interface Summary Interface Description IteratorResolver<T1,T2> An interface to find anIteratorfor an object (usually for use in some generic kind of iterator or filtering method) -
Class Summary Class Description ArrayIterator<T> AnIteratorthat iterates through all elements of an array.CombinedIterator<T> AnIteratorthat combines two existing iterators.ConverterIterator<T1,T2> AnIteratorthat converts the objects of an existing iterator using aConverter.CriterionIterator<T> AnIteratorthat filters the objects of an existing iterator using aCriterion.EmptyIterator<T> An emptyIteratorthat iterates through no elements.ExpandingLeafIterator<T> AnExpandingLeafIteratoriterates through the leaf nodes of a virtual two level data structure.ExpandingNodeIterator<T> AnExpandingNodeIteratoriterates through all nodes of a virtual two level data structure.ExpandingSubLevelIterator<T1,T2> AnExpandingSubLevelIteratoriterates through the sub level nodes of a virtual two level data structure.Iterators Utility class for iterator treatment.OneElementIterator<T> AnIteratorthat iterates through exactly one element.ReverseArrayIterator<T> AnIteratorthat iterates through all elements of an array - in reversed order i.e.TypeFilterIterator<T> AnIteratorthat filters the objects of an existing iterator by theirClass.