Package de.jungblut.datastructure
Class InputProvider<T>
- java.lang.Object
-
- de.jungblut.datastructure.InputProvider<T>
-
- Direct Known Subclasses:
CollectionInputProvider,TextLineInputProvider
public abstract class InputProvider<T> extends java.lang.ObjectA provider that provides generic input from a generic source as an iterator that can be read over and over again.- Author:
- thomas.jungblut
-
-
Constructor Summary
Constructors Constructor Description InputProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.Iterable<T>iterate()
-
-
-
Method Detail
-
iterate
public abstract java.lang.Iterable<T> iterate()
- Returns:
- a new iterator to read something. If end of data has been reached, it can be called to obtain a new iterable that re-reads that data.
-
-