Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(T that) |
|
boolean |
equals(java.lang.Object o) |
|
int |
hashCode() |
|
ParameterName |
name() |
The name of this parameter.
|
static Parameter |
parameter(java.lang.String name,
java.lang.String value) |
Factory method for generating a parameter from the given name and value
String s. |
static Parameter |
parameter(ParameterName name,
ParameterValue value) |
Factory method for generating a parameter from the given
ParameterName and ParameterValue . |
java.lang.String |
toString() |
|
ParameterValue |
value() |
The value of this parameter.
|
public static Parameter parameter(java.lang.String name, java.lang.String value)
String
s.name
- the String
representation of the name.value
- the String
representation of the value.Parameter
representing the given name and value.public static Parameter parameter(ParameterName name, ParameterValue value)
ParameterName
and ParameterValue
.name
- the name of the parameter.value
- the value of the parameter.Parameter
representing the given name and value.public ParameterName name()
public ParameterValue value()
public java.lang.String toString()
toString
in class java.lang.Object
public final int compareTo(T that)
compareTo
in interface java.lang.Comparable<T extends net.sourceforge.pah.ComparableMicroType<T,V>>
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object