Class PropertyKeySet
java.lang.Object
com.fastasyncworldedit.core.registry.state.PropertyKeySet
- All Implemented Interfaces:
Iterable<PropertyKey>
,Collection<PropertyKey>
,Set<PropertyKey>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(PropertyKey propertyKey) boolean
addAll
(Collection<? extends PropertyKey> c) void
clear()
boolean
boolean
containsAll
(Collection<?> c) static PropertyKeySet
empty()
boolean
isEmpty()
iterator()
static PropertyKeySet
of
(PropertyKey propertyKey) static PropertyKeySet
of
(PropertyKey... propertyKeys) static PropertyKeySet
ofCollection
(Collection<? extends PropertyKey> collection) boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) int
size()
Object[]
toArray()
<T> T[]
toArray
(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
equals, hashCode, spliterator
-
Constructor Details
-
PropertyKeySet
public PropertyKeySet()
-
-
Method Details
-
empty
-
ofCollection
-
of
-
of
-
size
public int size()- Specified by:
size
in interfaceCollection<PropertyKey>
- Specified by:
size
in interfaceSet<PropertyKey>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<PropertyKey>
- Specified by:
isEmpty
in interfaceSet<PropertyKey>
-
contains
- Specified by:
contains
in interfaceCollection<PropertyKey>
- Specified by:
contains
in interfaceSet<PropertyKey>
-
iterator
- Specified by:
iterator
in interfaceCollection<PropertyKey>
- Specified by:
iterator
in interfaceIterable<PropertyKey>
- Specified by:
iterator
in interfaceSet<PropertyKey>
-
toArray
- Specified by:
toArray
in interfaceCollection<PropertyKey>
- Specified by:
toArray
in interfaceSet<PropertyKey>
-
toArray
@Nonnull public <T> T[] toArray(@Nonnull T[] a) - Specified by:
toArray
in interfaceCollection<PropertyKey>
- Specified by:
toArray
in interfaceSet<PropertyKey>
-
add
- Specified by:
add
in interfaceCollection<PropertyKey>
- Specified by:
add
in interfaceSet<PropertyKey>
-
remove
- Specified by:
remove
in interfaceCollection<PropertyKey>
- Specified by:
remove
in interfaceSet<PropertyKey>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<PropertyKey>
- Specified by:
containsAll
in interfaceSet<PropertyKey>
-
addAll
- Specified by:
addAll
in interfaceCollection<PropertyKey>
- Specified by:
addAll
in interfaceSet<PropertyKey>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<PropertyKey>
- Specified by:
retainAll
in interfaceSet<PropertyKey>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<PropertyKey>
- Specified by:
removeAll
in interfaceSet<PropertyKey>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<PropertyKey>
- Specified by:
clear
in interfaceSet<PropertyKey>
-