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
Iteratorfor 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 anIteratorfor the specified object.
-
-
-
Method Detail
-
iterator
java.util.Iterator<? extends T2> iterator(T1 object)
Returns anIteratorfor the specified object. This method may returnnullif there is no suitable iterator for the specified object. The specified object must not benull.- Parameters:
object- object to find theIteratorfor.- Returns:
- an iterator for the specified object or
null
-
-