de.jstacs.io
Class SimpleStringExtractor
java.lang.Object
de.jstacs.io.AbstractStringExtractor
de.jstacs.io.SimpleStringExtractor
- All Implemented Interfaces:
- Enumeration<String>
public class SimpleStringExtractor
- extends AbstractStringExtractor
This is a simple class that extracts Strings. It enables the user to
create a Sample from a bunch of Strings. It
might be useful if one likes to select or create the Strings by an
own procedure.
- Author:
- Jens Keilwagen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleStringExtractor
public SimpleStringExtractor(String... strings)
- This constructor packs the
Strings in an instance of
SimpleStringExtractor.
- Parameters:
strings - the Strings that will be packed- See Also:
AbstractStringExtractor.AbstractStringExtractor(char)
hasMoreElements
public boolean hasMoreElements()
nextElement
public String nextElement()