Class StaticComponentMap
java.lang.Object
com.github.retrooper.packetevents.protocol.component.StaticComponentMap
- All Implemented Interfaces:
IComponentMap
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StaticComponentMap.Builder
builder()
boolean
<T> T
get
(ComponentType<T> type) Map
<ComponentType<?>, ?> boolean
has
(ComponentType<?> type) int
hashCode()
boolean
isEmpty()
merge
(StaticComponentMap prioritizedMap) <T> void
set
(ComponentType<T> type, Optional<T> value) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.protocol.component.IComponentMap
getOptional, getOr, set, set, unset
-
Field Details
-
EMPTY
-
SHARED_ITEM_COMPONENTS
-
-
Constructor Details
-
StaticComponentMap
-
-
Method Details
-
builder
-
has
- Specified by:
has
in interfaceIComponentMap
-
get
- Specified by:
get
in interfaceIComponentMap
-
set
- Specified by:
set
in interfaceIComponentMap
-
merge
-
getDelegate
-
isEmpty
public boolean isEmpty() -
equals
-
hashCode
public int hashCode() -
toString
-