java.lang.Comparable<ParameterValue>
public final class ParameterValue
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
asString() |
The string representation of this parameter value as it would appear in a MIME type.
|
int |
compareTo(T that) |
|
boolean |
equals(java.lang.Object o) |
|
int |
hashCode() |
|
static ParameterValue |
parameterValue(java.lang.String value) |
Factory method for generating a parameter value from the given
String . |
public static ParameterValue parameterValue(java.lang.String value)
String
.value
- the String
representation of the value.ParameterValue
representing the given String
.public java.lang.String asString()
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