Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 217 (Maintenance Release)

Uses of Class
java.util.BitSet

Packages that use BitSet
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
 

Uses of BitSet in java.util
 

Methods in java.util that return BitSet
 BitSet BitSet.get(int fromIndex, int toIndex)
          Returns a new BitSet composed of bits from this BitSet from fromIndex(inclusive) to toIndex(exclusive).
 

Methods in java.util with parameters of type BitSet
 boolean BitSet.intersects(BitSet set)
          Returns true if the specified BitSet has any bits set to true that are also set to true in this BitSet.
 void BitSet.and(BitSet set)
          Performs a logical AND of this target bit set with the argument bit set.
 void BitSet.or(BitSet set)
          Performs a logical OR of this bit set with the bit set argument.
 void BitSet.xor(BitSet set)
          Performs a logical XOR of this bit set with the bit set argument.
 void BitSet.andNot(BitSet set)
          Clears all of the bits in this BitSet whose corresponding bit is set in the specified BitSet.
 


JSR 217 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 217 specification.