Module org.jhotdraw8.fxcollection
Interface NonNullMapAccessor<T>
- Type Parameters:
T- the value type
- All Superinterfaces:
MapAccessor<T>
- All Known Subinterfaces:
NonNullKey<T>
- All Known Implementing Classes:
NonNullListKey,NonNullObjectKey
NonNullMapAccessor.
- Author:
- Werner Randelshofer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Tdefault TgetNonNull(Map<? super Key<?>, Object> a) Gets the value of the attribute denoted by this accessor from a Map.default TgetNonNull(ReadOnlyMap<? super Key<?>, Object> a) Gets the value of the attribute denoted by this accessor from a Map.default TputNonNull(Map<? super Key<?>, Object> a, T value) Puts the value of the attribute denoted by this accessor from a Map.Methods inherited from interface org.jhotdraw8.fxcollection.typesafekey.MapAccessor
containsKey, get, get, getDefaultValue, getName, getRawValueType, getValueType, isTransient, put, put, remove, remove, set
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
-
Method Details
-
getNonNull
Gets the value of the attribute denoted by this accessor from a Map.- Parameters:
a- A Map.- Returns:
- The value of the attribute.
-
getNonNull
Gets the value of the attribute denoted by this accessor from a Map.- Parameters:
a- A Map.- Returns:
- The value of the attribute.
-
putNonNull
Puts the value of the attribute denoted by this accessor from a Map.- Parameters:
a- A map.value- The new value.- Returns:
- The old value.
-
getDefaultValueNonNull
-