public class AbstractSchemeMapping extends Object implements SchemeMapping
SchemeMapping using an immutable map.| Modifier and Type | Method and Description |
|---|---|
SchemeMapping |
copy()
Makes a copy of this scheme mapping.
|
boolean |
equals(Object obj) |
Item |
getNullable(int key)
Gets an item from the mapping which represents the given key.
|
int |
hashCode() |
boolean |
hasMappingFor(int key)
Gets if this scheme has a mapping for a given key
|
static SchemeMapping |
of(Map<Integer,Item> mapping) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitget@Nullable public Item getNullable(int key)
SchemeMappinggetNullable in interface SchemeMappingkey - the mapping keypublic boolean hasMappingFor(int key)
SchemeMappinghasMappingFor in interface SchemeMappingkey - the mapping key@Nonnull public SchemeMapping copy()
SchemeMappingcopy in interface SchemeMappingCopyright © 2020. All rights reserved.