public class Parameter extends java.lang.Object implements Comparable<Parameter>
Constructor and Description |
---|
Parameter(java.lang.String key,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asUrlEncodedPair() |
int |
compareTo(Parameter parameter)
Compares this object to the specified object to determine their relative
order.
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
public java.lang.String asUrlEncodedPair()
public boolean equals(@Nullable java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Parameter parameter)
Comparable
compareTo
in interface Comparable<Parameter>
parameter
- the object to compare to this instance.another
;
a positive integer if this instance is greater than
another
; 0 if this instance has the same order as
another
.