public class Property<K,V> extends Object
| Modifier and Type | Method and Description |
|---|---|
Object |
asParameter() |
boolean |
equals(Object o) |
K |
getKey() |
V |
getValue() |
int |
hashCode() |
void |
setKey(K key) |
void |
setValue(V value) |
String |
toString() |
static <K,V> Property<K,V> |
with(K key,
V value)
Constructs a new
Property inferring the generic type arguments of the key and the value. |
public static <K,V> Property<K,V> with(K key, V value)
Property inferring the generic type arguments of the key and the value.key - The property key or namevalue - The property valueProperty based on the given argumentspublic K getKey()
public void setKey(K key)
public V getValue()
public void setValue(V value)
public Object asParameter()
Copyright © 2015 Neo Technology, Inc.. All rights reserved.