Class ImmutableContextSetImpl
java.lang.Object
me.lucko.luckperms.common.context.AbstractContextSet
me.lucko.luckperms.common.context.ImmutableContextSetImpl
- All Implemented Interfaces:
Iterable<net.luckperms.api.context.Context>,net.luckperms.api.context.ContextSet,net.luckperms.api.context.ImmutableContextSet
public final class ImmutableContextSetImpl
extends AbstractContextSet
implements net.luckperms.api.context.ImmutableContextSet, net.luckperms.api.context.ContextSet
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.luckperms.api.context.ImmutableContextSet
net.luckperms.api.context.ImmutableContextSet.Builder -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleancontainsKey(@NonNull String key) booleaninthashCode()Deprecated.booleanisEmpty()booleaniterator()@NonNull net.luckperms.api.context.MutableContextSetstatic net.luckperms.api.context.ImmutableContextSetprotected booleanotherContainsAll(net.luckperms.api.context.ContextSet other, net.luckperms.api.context.ContextSatisfyMode mode) intsize()Spliterator<net.luckperms.api.context.Context> net.luckperms.api.context.Context[]toArray()Deprecated.toMap()toSet()toString()Methods inherited from class me.lucko.luckperms.common.context.AbstractContextSet
isGlobalServerWorldEntry, isSatisfiedByMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.luckperms.api.context.ContextSet
containsAny, getAnyValue, isSatisfiedBy, isSatisfiedBy
-
Field Details
-
EMPTY
-
-
Method Details
-
of
-
isImmutable
public boolean isImmutable()- Specified by:
isImmutablein interfacenet.luckperms.api.context.ContextSet
-
immutableCopy
Deprecated.- Specified by:
immutableCopyin interfacenet.luckperms.api.context.ContextSet- Specified by:
immutableCopyin interfacenet.luckperms.api.context.ImmutableContextSet
-
toMultimap
-
mutableCopy
- Specified by:
mutableCopyin interfacenet.luckperms.api.context.ContextSet
-
toSet
- Specified by:
toSetin interfacenet.luckperms.api.context.ContextSet
-
toMap
- Specified by:
toMapin interfacenet.luckperms.api.context.ContextSet
-
toFlattenedMap
Deprecated.- Specified by:
toFlattenedMapin interfacenet.luckperms.api.context.ContextSet
-
toArray
public net.luckperms.api.context.Context[] toArray() -
otherContainsAll
protected boolean otherContainsAll(net.luckperms.api.context.ContextSet other, net.luckperms.api.context.ContextSatisfyMode mode) - Specified by:
otherContainsAllin classAbstractContextSet
-
equals
-
hashCode
public int hashCode() -
toString
-
containsKey
- Specified by:
containsKeyin interfacenet.luckperms.api.context.ContextSet
-
getValues
- Specified by:
getValuesin interfacenet.luckperms.api.context.ContextSet
-
contains
- Specified by:
containsin interfacenet.luckperms.api.context.ContextSet
-
contains
- Specified by:
containsin interfacenet.luckperms.api.context.ContextSet
-
iterator
-
spliterator
- Specified by:
spliteratorin interfaceIterable<net.luckperms.api.context.Context>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacenet.luckperms.api.context.ContextSet
-
size
public int size()- Specified by:
sizein interfacenet.luckperms.api.context.ContextSet
-