Package gnu.mapping
Class PropertyKey<T>
java.lang.Object
gnu.mapping.PropertyKey<T>
- Direct Known Subclasses:
LazyPropertyKey
PropertySet keys that provide statically-typeable values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Tget(PropertySet container) Get the value associated with this key in a givenPropertySet.get(PropertySet container, T defaultValue) Get the value associated with this key in a givenPropertySet.voidset(PropertySet container, T value)
-
Constructor Details
-
PropertyKey
-
-
Method Details
-
get
Get the value associated with this key in a givenPropertySet. ReturndefaultValueif there is no association for this key. -
get
Get the value associated with this key in a givenPropertySet. Return null if there is no association for this key. -
set
-