Uses of Class
java.util.BitSet

Packages that useBitSet
Package
Description
java.util
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
javax.swing.text.html.parser
Provides the default HTML parser, along with support classes.
  • Uses ofBitSet injava.util

    Methods injava.util that returnBitSet
    Modifier and Type
    Method
    Description
    BitSet.get(int fromIndex, int toIndex)
    Returns a newBitSet composed of bits from thisBitSet fromfromIndex (inclusive) totoIndex (exclusive).
    staticBitSet
    BitSet.valueOf(byte[] bytes)
    Returns a new bit set containing all the bits in the given byte array.
    staticBitSet
    BitSet.valueOf(long[] longs)
    Returns a new bit set containing all the bits in the given long array.
    staticBitSet
    BitSet.valueOf(ByteBuffer bb)
    Returns a new bit set containing all the bits in the given byte buffer between its position and limit.
    staticBitSet
    BitSet.valueOf(LongBuffer lb)
    Returns a new bit set containing all the bits in the given long buffer between its position and limit.
    Methods injava.util with parameters of typeBitSet
    Modifier and Type
    Method
    Description
    void
    BitSet.and(BitSet set)
    Performs a logicalAND of this target bit set with the argument bit set.
    void
    BitSet.andNot(BitSet set)
    Clears all of the bits in thisBitSet whose corresponding bit is set in the specifiedBitSet.
    boolean
    BitSet.intersects(BitSet set)
    Returns true if the specifiedBitSet has any bits set totrue that are also set totrue in thisBitSet.
    void
    BitSet.or(BitSet set)
    Performs a logicalOR of this bit set with the bit set argument.
    void
    BitSet.xor(BitSet set)
    Performs a logicalXOR of this bit set with the bit set argument.
  • Uses ofBitSet injavax.swing.text.html.parser

    Modifier and Type
    Field
    Description
    Element.exclusions
    The set of elements that must not occur inside the element
    Element.inclusions
    The set of elements that can occur inside the element
    Methods injavax.swing.text.html.parser with parameters of typeBitSet
    Modifier and Type
    Method
    Description
    DTD.defineElement(String name, int type, boolean omitStart, boolean omitEnd,ContentModel content,BitSet exclusions,BitSet inclusions,AttributeList atts)
    Returns theElement which matches the specified parameters.