Package com.thaiopensource.util
Class SinglePropertyMap<T>
java.lang.Object
com.thaiopensource.util.SinglePropertyMap<T>
- All Implemented Interfaces:
PropertyMap
-
Field Summary
Fields inherited from interface com.thaiopensource.util.PropertyMap
EMPTY
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(PropertyId<?> pid) <V> V
get
(PropertyId<V> pid) PropertyId<?>
getKey
(int i) static <T> SinglePropertyMap
newInstance
(PropertyId<T> pid, T value) int
size()
-
Method Details
-
get
- Specified by:
get
in interfacePropertyMap
-
contains
- Specified by:
contains
in interfacePropertyMap
-
size
public int size()- Specified by:
size
in interfacePropertyMap
-
getKey
- Specified by:
getKey
in interfacePropertyMap
-
newInstance
-