public class IntegerSet extends AbstractSet<Integer>
Modifier and Type | Class and Description |
---|---|
static class |
IntegerSet.BitSetIterator |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Integer integer) |
boolean |
addAll(Collection<? extends Integer> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
isEmpty() |
Iterator<Integer> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
static IntegerSet |
wrap(MutableBitmap mutableBitmap) |
equals, hashCode
toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator, toArray
parallelStream, removeIf, stream
public static IntegerSet wrap(MutableBitmap mutableBitmap)
public int size()
size
in interface Collection<Integer>
size
in interface Set<Integer>
size
in class AbstractCollection<Integer>
public boolean isEmpty()
isEmpty
in interface Collection<Integer>
isEmpty
in interface Set<Integer>
isEmpty
in class AbstractCollection<Integer>
public boolean contains(Object o)
contains
in interface Collection<Integer>
contains
in interface Set<Integer>
contains
in class AbstractCollection<Integer>
public Object[] toArray()
toArray
in interface Collection<Integer>
toArray
in interface Set<Integer>
toArray
in class AbstractCollection<Integer>
public boolean add(Integer integer)
add
in interface Collection<Integer>
add
in interface Set<Integer>
add
in class AbstractCollection<Integer>
public boolean remove(Object o)
remove
in interface Collection<Integer>
remove
in interface Set<Integer>
remove
in class AbstractCollection<Integer>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<Integer>
containsAll
in interface Set<Integer>
containsAll
in class AbstractCollection<Integer>
public boolean addAll(Collection<? extends Integer> c)
addAll
in interface Collection<Integer>
addAll
in interface Set<Integer>
addAll
in class AbstractCollection<Integer>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<Integer>
retainAll
in interface Set<Integer>
retainAll
in class AbstractCollection<Integer>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<Integer>
removeAll
in interface Set<Integer>
removeAll
in class AbstractSet<Integer>
public void clear()
clear
in interface Collection<Integer>
clear
in interface Set<Integer>
clear
in class AbstractCollection<Integer>
Copyright © 2011–2018. All rights reserved.