| Home >> All >> org >> jdaemon >> util >> [ iterator Javadoc ] |
org.jdaemon.util.iterator: Javadoc index of package org.jdaemon.util.iterator.
Package Samples:
org.jdaemon.util.iterator
Classes:
AggregatingIterator: Abstract class for generating aggregate data from a collection To create a concrete subclass of AggregatingIterator beginGroup should be implemented to return a 'zero' value for aggregate data addToGroup should be implemented to add a value from the underlying collection to the aggregate For example, if beginGroup returns new Integer(0), and the underlying collection contains instances of a an employee class with name, department, and salary fields, addToGroup() could be implemented to add the salary from an employee object to the total. Then if the Comparator object given to the AggregatingIterator ...
MapEntryConverter: Iterator that converts data into map entry objects If o is an object returned by the next() method of iterator i, And j = new MapEntryConverter(i), then j.next() will return an object e supporting the Map.Entry interface. e.getKey() and e.getValue() will both return o
CompoundIterator: Takes two iterators and turns them into a single iterator Elements in the enumeration A will be returned until there are none left; After that, elements in the enumeration B will be returned.
FilterIterator: Iterator that returns subset of values from some other enumeration that match some predicate function (the 'filter')
FunctionIterator: Iterator which is the result of applying some function to all elements of some other itereration
ExcludeIterator: Iterator that will exclude a certain certain object from an Iterator
Iterators: Utility class for various functions that operate on Iterators
EmptyIterator: Empty Iterator object
EnumerationIterator
| Home | Contact Us | Privacy Policy | Terms of Service |