Class Key<T>
java.lang.Object
com.strobel.componentmodel.Key<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ConcurrentWeakIntObjectHashMap<Key<?>> private final intprivate static final AtomicIntegerprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Key<T> final booleanget(UserDataStore store) get(UserDataStore store, T defaultValue) static <T> Key<T> getKeyByIndex(int index) final inthashCode()booleanisPresent(UserDataStore store) voidset(UserDataStore store, T value) voidtoString()
-
Field Details
-
_keyCounter
-
_allKeys
-
_index
private final int _index -
_name
-
-
Constructor Details
-
Key
-
-
Method Details
-
getKeyByIndex
-
create
-
hashCode
-
equals
-
toString
-
get
-
get
-
get
-
get
-
isPresent
-
set
-
set
-