|
JAPI 0.9.0 Yet another Java API API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.japi.io.ARGV
public class ARGV
A special delegate of ARGV Reader supplying lines via an Iterator.
| Constructor Summary | |
|---|---|
ARGV(String... args)
Create an ARGV. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
ARGV |
iterator()
Returns an iterator over a set of elements of type T. |
String |
next()
Returns the next element in the iteration. |
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ARGV(@NotNull
String... args)
args - Command line arguments or some other String array containing 0 or more file names.| Method Detail |
|---|
public ARGV iterator()
iterator in interface Iterable<String>public boolean hasNext()
hasNext in interface Iterator<String>@NotNull public String next()
Iterator.hasNext() method returns false will
return each element in the underlying collection exactly once.
next in interface Iterator<String>public void remove()
remove in interface Iterator<String>
|
JAPI Yet another Java API API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||