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 TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends Long> c) void
clear()
boolean
boolean
containsAll
(Collection<?> c) boolean
isEmpty()
iterator()
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
-
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:
containsAll
in interfaceCollection<Long>
- Specified by:
containsAll
in interfaceSet<Long>
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
addAll
-
retainAll
-
removeAll
-
clear
public void clear()
-