public class BitIntegerSet extends Object implements Set<Integer>, ReversibleIterable<Integer>
| Constructor and Description |
|---|
BitIntegerSet() |
BitIntegerSet(BitIntegerSet other) |
BitIntegerSet(BitSet other) |
BitIntegerSet(int i) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, spliteratorparallelStream, removeIf, streampublic BitIntegerSet()
public BitIntegerSet(int i)
public BitIntegerSet(BitSet other)
public BitIntegerSet(BitIntegerSet other)
public int cardinality()
public int cardinality(int start)
public int cardinality(int start,
int end)
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] array)
public boolean add(Integer item)
public boolean remove(Object o)
public boolean containsAll(Collection<?> collection)
containsAll in interface Collection<Integer>containsAll in interface Set<Integer>public boolean addAll(Collection<? extends Integer> collection)
public boolean retainAll(Collection<?> collection)
public boolean removeAll(Collection<?> collection)
public void forEach(IntConsumer consumer)
public int size()
public boolean isEmpty()
public void clear()
public static BitIntegerSet valueOf(long[] longs)
public static BitIntegerSet valueOf(LongBuffer buffer)
public static BitIntegerSet valueOf(byte[] bytes)
public static BitIntegerSet valueOf(ByteBuffer buffer)
public byte[] toByteArray()
public long[] toLongArray()
public BitIntegerSet flip(int i)
public BitIntegerSet flip(int i, int i1)
public BitIntegerSet set(int i)
public BitIntegerSet set(int i, boolean b)
public BitIntegerSet set(int i, int i1)
public BitIntegerSet set(int i, int i1, boolean b)
public BitIntegerSet clear(int i)
public BitIntegerSet clear(int i, int i1)
public BitIntegerSet and(BitSet set)
public BitIntegerSet or(BitSet set)
public BitIntegerSet xor(BitSet set)
public BitIntegerSet andNot(BitSet set)
public BitIntegerSet and(BitIntegerSet set)
public BitIntegerSet or(BitIntegerSet set)
public BitIntegerSet xor(BitIntegerSet set)
public BitIntegerSet andNot(BitIntegerSet set)
public boolean get(int i)
public BitIntegerSet get(int i, int i1)
public int nextSetBit(int i)
public int nextClearBit(int i)
public int previousSetBit(int i)
public int previousClearBit(int i)
public boolean intersects(BitSet set)
public BitSet bitSet()
public ReversibleIterator<Integer> iterator()
public ReversibleIterable<Integer> reversed()
reversed in interface ReversibleIterable<Integer>public boolean isReversed()
isReversed in interface ReversibleIterable<Integer>public ReversibleIterator<Integer> reversedIterator()
reversedIterator in interface ReversibleIterable<Integer>Copyright © 2018. All rights reserved.