|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.CommandLineArgs.Prefix
private static final class CommandLineArgs.Prefix
Represent a single command line prefix
Field Summary | |
---|---|
int |
count
Number of arguments of this type seen |
CommandLineArgs.PrefixType |
type
A number that describes the type of the argument |
String |
value
The command line string e.g. |
Constructor Summary | |
---|---|
CommandLineArgs.Prefix(String v,
CommandLineArgs.PrefixType t)
Construct a prefix with the given argument string and type |
Method Summary | |
---|---|
int |
compareTo(CommandLineArgs.Prefix o)
Sorting method for Comparable. |
boolean |
equals(Object o)
Equals method to be consistent with Comparable |
int |
hashCode()
Hashcode to be consistent with Comparable |
String |
toString()
Command line string representation of the prefix |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final String value
public final CommandLineArgs.PrefixType type
public int count
Constructor Detail |
---|
public CommandLineArgs.Prefix(String v, CommandLineArgs.PrefixType t)
v
- argument stringt
- type of prefix, must be non-nullMethod Detail |
---|
public int compareTo(CommandLineArgs.Prefix o)
compareTo
in interface Comparable<CommandLineArgs.Prefix>
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |