Class EclipseCollectionsLongSetMemory.SetWrapper
java.lang.Object
tools.refinery.interpreter.matchers.util.EclipseCollectionsLongSetMemory.SetWrapper
- Enclosing class:
EclipseCollectionsLongSetMemory
public static final class EclipseCollectionsLongSetMemory.SetWrapper
extends Object
implements Set<Long>
Helper that presents a primitive collection as a Set view
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends Long> c) voidclear()booleanbooleancontainsAll(Collection<?> c) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
equals, hashCode, spliterator
-
Constructor Details
-
SetWrapper
public SetWrapper(org.eclipse.collections.api.set.primitive.LongSet wrapped) - Parameters:
wrapped-
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
containsAll
- Specified by:
containsAllin interfaceCollection<Long>- Specified by:
containsAllin interfaceSet<Long>
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
addAll
-
retainAll
-
removeAll
-
clear
public void clear()
-