public class Parameter<T> extends Object implements Map.Entry<String,T>, Serializable
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
String |
getKey() |
String |
getName() |
T |
getValue() |
int |
hashCode() |
static <V> Parameter<V> |
of(String key,
V value) |
T |
setValue(T value) |
String |
toString() |
Parameter<T> |
withKey(String newKey)
Create a new pair with new key
|
Parameter<T> |
withName(String newKey)
Create a new pair with new key
|
Parameter<T> |
withValue(T newValue)
Create a new pair with new value
|
comparingByKey, comparingByKey, comparingByValue, comparingByValuepublic String getName()
Copyright © 2017. All rights reserved.