Uses of Class
it.tidalwave.util.Key
Packages that use Key
-
Uses of Key in it.tidalwave.util
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 TypeMethodDescription<T> voidTypeSafeMap.forEach(BiConsumer<? super Key<T>, ? super T> action) Performs the given action on all the pairs (key, value) contained in this map.<T> voidTypeSafeMultiMap.forEach(BiConsumer<? super Key<T>, ? super Collection<T>> 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