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