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 T
get
(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
.void
set
(PropertySet container, T value)
-
Constructor Details
-
PropertyKey
-
-
Method Details
-
get
Get the value associated with this key in a givenPropertySet
. ReturndefaultValue
if 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
-