public class DataSourceImpl extends Object implements DataSource
Constructor and Description |
---|
DataSourceImpl(List<String> data) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Terminated<String> |
next() |
Terminated<String> |
peek(int nb) |
void |
remove() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
public Terminated<String> peek(int nb)
peek
in interface DataSource
public boolean hasNext()
hasNext
in interface Iterator<Terminated<String>>
public Terminated<String> next()
next
in interface Iterator<Terminated<String>>
public void remove()
remove
in interface Iterator<Terminated<String>>
Copyright © 2016. All Rights Reserved.