fr.gouv.culture.sdx.utils
Class Bits

java.lang.Object
  extended by fr.gouv.culture.sdx.utils.Bits

public class Bits
extends java.lang.Object

Utility methods to handle bitsets.


Constructor Summary
Bits()
           
 
Method Summary
static int countBits(java.util.BitSet bs)
          Returns the number of bits set to 1 in a bitset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bits

public Bits()
Method Detail

countBits

public static int countBits(java.util.BitSet bs)
Returns the number of bits set to 1 in a bitset.

Parameters:
bs - The bitset to check.


Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.