Uses of Class
java.util.BitSet

Packages that use BitSet
Package Description
java.util  
org.apache.commons.codec.net
Network related encoding and decoding.
  • Uses of BitSet in java.util

    Methods in java.util that return BitSet
    Modifier and Type Method Description
    BitSet BitSet.get​(int fromIndex, int toIndex)
    Returns a new BitSet containing the range of bits [fromIndex, toIndex), shifted down so that the bit at fromIndex is at bit 0 in the new BitSet.
    static BitSet BitSet.valueOf​(byte[] bytes)
    Equivalent to BitSet.valueOf(ByteBuffer.wrap(bytes)).
    static BitSet BitSet.valueOf​(long[] longs)
    Equivalent to BitSet.valueOf(LongBuffer.wrap(longs)), but likely to be faster.
    static BitSet BitSet.valueOf​(ByteBuffer byteBuffer)
    Returns a BitSet corresponding to byteBuffer, interpreted as a little-endian sequence of bits.
    static BitSet BitSet.valueOf​(LongBuffer longBuffer)
    Returns a BitSet corresponding to longBuffer, interpreted as a little-endian sequence of bits.
    Methods in java.util with parameters of type BitSet
    Modifier and Type Method Description
    void BitSet.and​(BitSet bs)
    Logically ands the bits of this BitSet with bs.
    void BitSet.andNot​(BitSet bs)
    Clears all bits in this BitSet which are also set in bs.
    boolean BitSet.intersects​(BitSet bs)
    Returns true if this.and(bs) is non-empty, but may be faster than computing that.
    void BitSet.or​(BitSet bs)
    Logically ors the bits of this BitSet with bs.
    void BitSet.xor​(BitSet bs)
    Logically xors the bits of this BitSet with bs.
  • Uses of BitSet in org.apache.commons.codec.net

    Fields in org.apache.commons.codec.net declared as BitSet
    Modifier and Type Field Description
    protected static BitSet URLCodec.WWW_FORM_URL
    BitSet of www-form-url safe characters.
    Methods in org.apache.commons.codec.net with parameters of type BitSet
    Modifier and Type Method Description
    static byte[] QuotedPrintableCodec.encodeQuotedPrintable​(BitSet printable, byte[] bytes)
    Encodes an array of bytes into an array of quoted-printable 7-bit characters.
    static byte[] URLCodec.encodeUrl​(BitSet urlsafe, byte[] bytes)
    Encodes an array of bytes into an array of URL safe 7-bit characters.