Uses of Class
it.tidalwave.util.Key
-
Packages that use Key Package Description it.tidalwave.util -
-
Uses of Key in it.tidalwave.util
Methods 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<Key<?>>TypeSafeMap. getKeys()Returns a set of all the contained keys.java.util.Set<Key<?>>TypeSafeMultiMap. getKeys()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<T> 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)Create 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 static TypeSafeMapTypeSafeMap. ofCloned(java.util.Map<Key<?>,java.lang.Object> map)Creates an instance cloning the given map.static TypeSafeMultiMapTypeSafeMultiMap. ofCloned(java.util.Map<Key<?>,java.util.Collection<?>> map)Creates an instance cloning the given map.
-