Package org.ujmp.core.collections.set
Class BitSetSet
- All Implemented Interfaces:
Serializable
,Iterable<Integer>
,Collection<Integer>
,Set<Integer>
,SortedSet<Integer>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends Integer> c) void
void
addRange
(int start, int end) void
clear()
clone()
Comparator<? super Integer>
boolean
boolean
containsAll
(Collection<?> c) first()
boolean
isEmpty()
iterator()
last()
boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) int
size()
Object[]
toArray()
<T> T[]
toArray
(T[] a) toString()
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
Methods inherited from interface java.util.SortedSet
spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitset
-
-
Constructor Details
-
BitSetSet
public BitSetSet() -
BitSetSet
-
-
Method Details
-
add
- Specified by:
add
in interfaceCollection<Integer>
- Specified by:
add
in interfaceSet<Integer>
- Specified by:
add
in classAbstractSet<Integer>
-
addRange
public void addRange(int start, int end) -
addAll
- Specified by:
addAll
in interfaceCollection<Integer>
- Specified by:
addAll
in interfaceSet<Integer>
- Overrides:
addAll
in classAbstractCollection<Integer>
-
addAll
-
clone
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<Integer>
- Specified by:
clear
in interfaceSet<Integer>
- Specified by:
clear
in classAbstractSet<Integer>
-
contains
- Specified by:
contains
in interfaceCollection<Integer>
- Specified by:
contains
in interfaceSet<Integer>
- Specified by:
contains
in classAbstractSet<Integer>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<Integer>
- Specified by:
containsAll
in interfaceSet<Integer>
- Overrides:
containsAll
in classAbstractCollection<Integer>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<Integer>
- Specified by:
isEmpty
in interfaceSet<Integer>
- Overrides:
isEmpty
in classAbstractCollection<Integer>
-
iterator
-
remove
- Specified by:
remove
in interfaceCollection<Integer>
- Specified by:
remove
in interfaceSet<Integer>
- Specified by:
remove
in classAbstractSet<Integer>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<Integer>
- Specified by:
removeAll
in interfaceSet<Integer>
- Overrides:
removeAll
in classAbstractSet<Integer>
-
toString
- Overrides:
toString
in classAbstractCollection<Integer>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<Integer>
- Specified by:
retainAll
in interfaceSet<Integer>
- Overrides:
retainAll
in classAbstractCollection<Integer>
-
size
public int size()- Specified by:
size
in interfaceCollection<Integer>
- Specified by:
size
in interfaceSet<Integer>
- Specified by:
size
in classAbstractCollection<Integer>
-
toArray
- Specified by:
toArray
in interfaceCollection<Integer>
- Specified by:
toArray
in interfaceSet<Integer>
- Overrides:
toArray
in classAbstractCollection<Integer>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArray
in interfaceCollection<Integer>
- Specified by:
toArray
in interfaceSet<Integer>
- Overrides:
toArray
in classAbstractCollection<Integer>
-
comparator
- Specified by:
comparator
in interfaceSortedSet<Integer>
-
first
-
headSet
-
last
-
subSet
-
tailSet
-