Class NativeEntityFunctionSet<NativeEntity,Result>
java.lang.Object
java.util.AbstractCollection<Result>
java.util.AbstractSet<Result>
com.fastasyncworldedit.bukkit.adapter.NativeEntityFunctionSet<NativeEntity,Result>
- All Implemented Interfaces:
Iterable<Result>,Collection<Result>,Set<Result>
-
Constructor Summary
ConstructorsConstructorDescriptionNativeEntityFunctionSet(List<NativeEntity> nativeEntities, Function<NativeEntity, UUID> uuidGetter, Function<NativeEntity, Result> resultFunction) -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, remove, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
add, addAll, clear, containsAll, remove, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
NativeEntityFunctionSet
public NativeEntityFunctionSet(List<NativeEntity> nativeEntities, Function<NativeEntity, UUID> uuidGetter, Function<NativeEntity, Result> resultFunction)
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<NativeEntity>- Specified by:
sizein interfaceSet<NativeEntity>- Specified by:
sizein classAbstractCollection<Result>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<NativeEntity>- Specified by:
isEmptyin interfaceSet<NativeEntity>- Overrides:
isEmptyin classAbstractCollection<Result>
-
contains
- Specified by:
containsin interfaceCollection<NativeEntity>- Specified by:
containsin interfaceSet<NativeEntity>- Overrides:
containsin classAbstractCollection<Result>
-
iterator
- Specified by:
iteratorin interfaceCollection<NativeEntity>- Specified by:
iteratorin interfaceIterable<NativeEntity>- Specified by:
iteratorin interfaceSet<NativeEntity>- Specified by:
iteratorin classAbstractCollection<Result>
-