it.unimi.dsi.bits
Class BitVectors

java.lang.Object
  extended by it.unimi.dsi.bits.BitVectors

public class BitVectors
extends Object

A class providing static methods and objects that do useful things with bit vectors.

See Also:
BitVector

Field Summary
static BitVector EMPTY_VECTOR
          An immutable, singleton empty bit vector.
static BitVector ONE
          An immutable bit vector of length one containing a one.
static BitVector ZERO
          An immutable bit vector of length one containing a zero.
 
Method Summary
static void ensureFromTo(long bitVectorLength, long from, long to)
           
static
<T extends BitVector>
TransformationStrategy<T>
identity()
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_VECTOR

public static final BitVector EMPTY_VECTOR
An immutable, singleton empty bit vector.


ZERO

public static final BitVector ZERO
An immutable bit vector of length one containing a zero.


ONE

public static final BitVector ONE
An immutable bit vector of length one containing a one.

Method Detail

identity

@Deprecated
public static <T extends BitVector> TransformationStrategy<T> identity()
Deprecated. 


ensureFromTo

public static void ensureFromTo(long bitVectorLength,
                                long from,
                                long to)