Package net.sourceforge.plantuml.salt
Class DataSourceImpl
java.lang.Object
net.sourceforge.plantuml.salt.DataSourceImpl
- All Implemented Interfaces:
java.util.Iterator<Terminated<java.lang.String>>
,DataSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
Terminated<java.lang.String>
next()
Terminated<java.lang.String>
peek
(int nb) void
remove()
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
DataSourceImpl
public DataSourceImpl(java.util.List<java.lang.String> data)
-
-
Method Details
-
peek
- Specified by:
peek
in interfaceDataSource
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfacejava.util.Iterator<Terminated<java.lang.String>>
-
next
- Specified by:
next
in interfacejava.util.Iterator<Terminated<java.lang.String>>
-
remove
public void remove()- Specified by:
remove
in interfacejava.util.Iterator<Terminated<java.lang.String>>
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-