net.sourceforge.plantuml.salt
Class DataSourceImpl

java.lang.Object
  extended by net.sourceforge.plantuml.salt.DataSourceImpl
All Implemented Interfaces:
Iterator<Terminated<String>>, DataSource

public class DataSourceImpl
extends Object
implements DataSource


Constructor Summary
DataSourceImpl(List<String> data)
           
 
Method Summary
 boolean hasNext()
           
 Terminated<String> next()
           
 Terminated<String> peek(int nb)
           
 void remove()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataSourceImpl

public DataSourceImpl(List<String> data)
Method Detail

peek

public Terminated<String> peek(int nb)
Specified by:
peek in interface DataSource

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Terminated<String>>

next

public Terminated<String> next()
Specified by:
next in interface Iterator<Terminated<String>>

remove

public void remove()
Specified by:
remove in interface Iterator<Terminated<String>>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.