Uses of Class
java.util.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 BitSetBitSet. get(int fromIndex, int toIndex)Returns a newBitSetcontaining the range of bits[fromIndex, toIndex), shifted down so that the bit atfromIndexis at bit 0 in the newBitSet.static BitSetBitSet. valueOf(byte[] bytes)Equivalent toBitSet.valueOf(ByteBuffer.wrap(bytes)).static BitSetBitSet. valueOf(long[] longs)Equivalent toBitSet.valueOf(LongBuffer.wrap(longs)), but likely to be faster.static BitSetBitSet. valueOf(ByteBuffer byteBuffer)Returns aBitSetcorresponding tobyteBuffer, interpreted as a little-endian sequence of bits.static BitSetBitSet. valueOf(LongBuffer longBuffer)Returns aBitSetcorresponding tolongBuffer, interpreted as a little-endian sequence of bits.Methods in java.util with parameters of type BitSet Modifier and Type Method Description voidBitSet. and(BitSet bs)Logically ands the bits of thisBitSetwithbs.voidBitSet. andNot(BitSet bs)Clears all bits in thisBitSetwhich are also set inbs.booleanBitSet. intersects(BitSet bs)Returns true ifthis.and(bs)is non-empty, but may be faster than computing that.voidBitSet. or(BitSet bs)Logically ors the bits of thisBitSetwithbs.voidBitSet. xor(BitSet bs)Logically xors the bits of thisBitSetwithbs. -
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 BitSetURLCodec. WWW_FORM_URLBitSet 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.