Package org.ethelred.util.collect
Class ImmutableTypedObjectMap
- java.lang.Object
-
- org.ethelred.util.collect.ImmutableTypedObjectMap
-
- All Implemented Interfaces:
TypedObjectMap
@NullMarked public class ImmutableTypedObjectMap extends Object implements TypedObjectMap
Created by edward on 3/14/17.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableTypedObjectMap.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableTypedObjectMap.Builderbuilder()<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
-
-
-
-
Method Detail
-
builder
public static ImmutableTypedObjectMap.Builder builder()
-
get
public <T> Optional<T> get(TypedObjectKey<T> key)
- Specified by:
getin interfaceTypedObjectMap
-
-