Module org.jhotdraw8.fxcollection
Class NonNullObjectKey<T>
java.lang.Object
org.jhotdraw8.fxcollection.typesafekey.AbstractKey<@NonNull T>
org.jhotdraw8.fxcollection.typesafekey.NonNullObjectKey<T>
- Type Parameters:
T- the value type
- All Implemented Interfaces:
Serializable,Key<T>,MapAccessor<T>,NonNullKey<@NonNull T>,NonNullMapAccessor<T>
- Direct Known Subclasses:
NonNullListKey
public class NonNullObjectKey<@NonNull T>
extends AbstractKey<@NonNull T>
implements NonNullKey<@NonNull T>
A simple
Key which has a non-nullable value.- Author:
- Werner Randelshofer
- See Also:
-
Constructor Summary
Constructors -
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.
-