Interface IteratorResolver<T1,T2>
-
- Type Parameters:
T1
- type of the object for which to find an iteratorT2
- type of the objects the returned iterator will iterate through
public interface IteratorResolver<T1,T2>
An interface to find an
Iterator
for an object (usually for use in some generic kind of iterator or filtering method)- Author:
- agz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Iterator<? extends T2>
iterator(T1 object)
Returns anIterator
for the specified object.
-
-
-
Method Detail
-
iterator
java.util.Iterator<? extends T2> iterator(T1 object)
Returns anIterator
for the specified object. This method may returnnull
if there is no suitable iterator for the specified object. The specified object must not benull
.- Parameters:
object
- object to find theIterator
for.- Returns:
- an iterator for the specified object or
null
-
-