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 TypeMethodDescriptionbooleancontains(PropertyId<?> pid) <V> Vget(PropertyId<V> pid) PropertyId<?> getKey(int i) static <T> SinglePropertyMapnewInstance(PropertyId<T> pid, T value) intsize()
-
Method Details
-
get
- Specified by:
getin interfacePropertyMap
-
contains
- Specified by:
containsin interfacePropertyMap
-
size
public int size()- Specified by:
sizein interfacePropertyMap
-
getKey
- Specified by:
getKeyin interfacePropertyMap
-
newInstance
-