public final class CommandLine extends Object implements ListIterator<String>
| Constructor and Description |
|---|
CommandLine(String[] args)
Create a new command line with the specified arguments.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(String s) |
boolean |
hasNext() |
boolean |
hasPrevious() |
String |
next() |
int |
nextIndex() |
String |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(String s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic CommandLine(String[] args)
args - command line argumentspublic void add(String s)
add in interface ListIterator<String>public boolean hasNext()
public boolean hasPrevious()
hasPrevious in interface ListIterator<String>public String next()
public int nextIndex()
nextIndex in interface ListIterator<String>public String previous()
previous in interface ListIterator<String>public int previousIndex()
previousIndex in interface ListIterator<String>public void remove()
public void set(String s)
set in interface ListIterator<String>Copyright © 2004–2022 dishevelled.org. All rights reserved.