Module org.jhotdraw8.fxcollection
Class NonNullObjectKey<T>
java.lang.Object
org.jhotdraw8.fxcollection.typesafekey.AbstractKey<T>
org.jhotdraw8.fxcollection.typesafekey.NonNullObjectKey<T>
- Type Parameters:
T- the value type
- All Implemented Interfaces:
Key<T>,MapAccessor<T>,NonNullKey<T>,NonNullMapAccessor<T>
- Direct Known Subclasses:
NonNullListKey
A simple
Key which has a non-nullable value.- Author:
- Werner Randelshofer
-
Field Summary
Fields inherited from interface org.jhotdraw8.fxcollection.typesafekey.Key
serialVersionUIDFields inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullMapAccessor
serialVersionUID -
Constructor Summary
ConstructorsConstructorDescriptionNonNullObjectKey(String name, Type type, T defaultValue) Creates a new instance with the specified name, type token class, default value. -
Method Summary
Methods inherited from class org.jhotdraw8.fxcollection.typesafekey.AbstractKey
getDefaultValue, getName, getValueType, isNullable, isTransient, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.Key
cast, containsKey, getValue, getValueProperty, isAssignable, isDefault, isNullable, propertyAt, put, put, putValue, readOnlyPropertyAt, remove, remove, valueAtMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.MapAccessor
getDefaultValue, getName, getRawValueType, getValueType, isTransient, setMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullKey
get, getMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullMapAccessor
getDefaultValueNonNull, getNonNull, getNonNull, putNonNull
-
Constructor Details
-
NonNullObjectKey
Creates a new instance with the specified name, type token class, default value.- Parameters:
name- The name of the name.type- The type of the value.defaultValue- The default value.
-