Uses of Class
it.tidalwave.util.Key
Packages that use Key
-
Uses of Key in it.tidalwave.util
Fields in it.tidalwave.util declared as KeyModifier and TypeFieldDescriptionPreferencesHandler.KEY_FULL_SCREENWhether the application should start at full screen.PreferencesHandler.KEY_INITIAL_SIZEA property representing the initial main window size as a percentual of the screen size.Methods in it.tidalwave.util that return KeyModifier and TypeMethodDescriptionCreates an instance with the given name.static <T> Key<T> Creates an instance with the given name and type.Methods in it.tidalwave.util that return types with arguments of type KeyModifier and TypeMethodDescriptionKey.allKeys()Returns all the keys registered in the system.TypeSafeMap.asMap()Returns the contents as a plainMap.Map<Key<?>, Collection<?>> TypeSafeMultiMap.asMap()Returns the contents as a plainMap.TypeSafeMap.entrySet()Returns a set of all the contained (key, value) pairs.Set<Map.Entry<Key<?>, Collection<?>>> TypeSafeMultiMap.entrySet()Returns a set of all the contained (key, value) pairs.TypeSafeMap.keySet()Returns a set of all the contained keys.TypeSafeMultiMap.keySet()Returns a set of all the contained keys.Methods in it.tidalwave.util with parameters of type KeyModifier and TypeMethodDescriptionintbooleanTypeSafeMap.containsKey(Key<?> key) Checks whether a pair has been stored.booleanTypeSafeMultiMap.containsKey(Key<?> key) Checks whether a pair has been stored.<T> TDeprecated.<T> Collection<T> Returns a value given its key.default <T> Optional<T> TypeSafeMap.getOptional(Key<? extends T> key) Returns an optional value given its key.<T> Optional<T> PreferencesHandler.getProperty(Key<T> name) Gets a property.<T> voidPreferencesHandler.setDefaultProperty(Key<T> name, T value) Sets a property, unless it has been already set.<T> voidPreferencesHandler.setProperty(Key<T> name, T value) Sets a property, overriding the current value.<T> TypeSafeMapCreate a new instance with an additional pair (key, value=<T> TypeSafeMultiMapCreates a new instance with an additional pair (key, value).Method parameters in it.tidalwave.util with type arguments of type KeyModifier and TypeMethodDescriptionvoidTypeSafeMap.forEach(BiConsumer<? super Key<?>, ? super Object> action) Performs the given action on all the pairs (key, value) contained in this map.voidTypeSafeMultiMap.forEach(BiConsumer<? super Key<?>, ? super Collection<?>> action) Performs the given action on all the pairs (key, value) contained in this map.static TypeSafeMapCreates an instance cloning the given map.static TypeSafeMultiMapTypeSafeMultiMap.ofCloned(Map<? extends Key<?>, ? extends Collection<?>> map) Creates an instance cloning the given map.
TypeSafeMap.getOptional(Key)instead