Package org.ethelred.util.collect
Class ValuedTypedObjectMap
- java.lang.Object
-
- org.ethelred.util.collect.ValuedTypedObjectMap
-
- All Implemented Interfaces:
TypedObjectMap
public class ValuedTypedObjectMap extends Object implements TypedObjectMap
Created by edward on 3/14/17.
-
-
Constructor Summary
Constructors Constructor Description ValuedTypedObjectMap(TypedObjectMap delegate, TypedObjectKey<T> key, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Optional<T>get(TypedObjectKey<T> key)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ethelred.util.collect.TypedObjectMap
isSet, with, withFlag
-
-
-
-
Constructor Detail
-
ValuedTypedObjectMap
public ValuedTypedObjectMap(TypedObjectMap delegate, TypedObjectKey<T> key, T value)
-
-
Method Detail
-
get
public <T> Optional<T> get(TypedObjectKey<T> key)
- Specified by:
getin interfaceTypedObjectMap
-
-