public class Pair<T>
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static Pair<java.lang.String> |
create(java.lang.String s) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName() |
T |
getValue() |
java.lang.String |
getValueString() |
int |
hashCode() |
void |
setName(java.lang.String name) |
void |
setValue(T value) |
java.lang.String |
toString() |
public Pair()
public Pair(java.lang.String name, T value)
public static Pair<java.lang.String> create(java.lang.String s)
public java.lang.String getName()
public void setName(java.lang.String name)
public T getValue()
public java.lang.String getValueString()
public void setValue(T value)
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object
public java.lang.String toString()
toString
在类中 java.lang.Object