Uses of Class
it.tidalwave.util.Key
- 
Packages that use Key Package Description it.tidalwave.util 
- 
- 
Uses of Key in it.tidalwave.utilMethods in it.tidalwave.util that return Key Modifier and Type Method Description static Key<java.lang.Object>Key. of(java.lang.String name)Creates an instance with the given name.static <T> Key<T>Key. of(java.lang.String name, java.lang.Class<T> type)Creates an instance with the given name and type.Methods in it.tidalwave.util that return types with arguments of type Key Modifier and Type Method Description static java.util.Set<Key<?>>Key. allKeys()Returns all the keys registered in the system.java.util.Map<Key<?>,java.lang.Object>TypeSafeMap. asMap()Returns the contents as a plainMap.java.util.Map<Key<?>,java.util.Collection<?>>TypeSafeMultiMap. asMap()Returns the contents as a plainMap.java.util.Set<java.util.Map.Entry<Key<?>,java.lang.Object>>TypeSafeMap. entrySet()Returns a set of all the contained (key, value) pairs.java.util.Set<java.util.Map.Entry<Key<?>,java.util.Collection<?>>>TypeSafeMultiMap. entrySet()Returns a set of all the contained (key, value) pairs.default java.util.Set<Key<?>>TypeSafeMap. getKeys()Deprecated.UseTypeSafeMap.keySet()instead.default java.util.Set<Key<?>>TypeSafeMultiMap. getKeys()Deprecated.UseTypeSafeMultiMap.keySet()instead.java.util.Set<Key<?>>TypeSafeMap. keySet()Returns a set of all the contained keys.java.util.Set<Key<?>>TypeSafeMultiMap. keySet()Returns a set of all the contained keys.Methods in it.tidalwave.util with parameters of type Key Modifier and Type Method Description intKey. compareTo(Key<?> other)booleanTypeSafeMap. containsKey(Key<?> key)Checks whether a pair has been stored.booleanTypeSafeMultiMap. containsKey(Key<?> key)Checks whether a pair has been stored.<T> TTypeSafeMap. get(Key<T> key)Deprecated.UseTypeSafeMap.getOptional(Key)instead<T> java.util.Collection<T>TypeSafeMultiMap. get(Key<T> key)Returns a value given its key.default <T> java.util.Optional<T>TypeSafeMap. getOptional(Key<? extends T> key)Returns an optional value given its key.<T> TypeSafeMapTypeSafeMap. with(Key<T> key, T value)Create a new instance with an additional pair (key, value=<T> TypeSafeMultiMapTypeSafeMultiMap. with(Key<T> key, T value)Creates a new instance with an additional pair (key, value).Method parameters in it.tidalwave.util with type arguments of type Key Modifier and Type Method Description voidTypeSafeMap. forEach(java.util.function.BiConsumer<? super Key<?>,? super java.lang.Object> action)Performs the given action on all the pairs (key, value) contained in this map.voidTypeSafeMultiMap. forEach(java.util.function.BiConsumer<? super Key<?>,? super java.util.Collection<?>> action)Performs the given action on all the pairs (key, value) contained in this map.static TypeSafeMapTypeSafeMap. ofCloned(java.util.Map<? extends Key<?>,java.lang.Object> map)Creates an instance cloning the given map.static TypeSafeMultiMapTypeSafeMultiMap. ofCloned(java.util.Map<? extends Key<?>,? extends java.util.Collection<?>> map)Creates an instance cloning the given map.
 
-