public final class BufferUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
protected static void |
fillArrayAND(short[] container,
LongBuffer bitmap1,
LongBuffer bitmap2) |
protected static void |
fillArrayANDNOT(short[] container,
LongBuffer bitmap1,
LongBuffer bitmap2) |
protected static void |
fillArrayXOR(short[] container,
LongBuffer bitmap1,
LongBuffer bitmap2) |
static int |
getSizeInBytesFromCardinality(int card)
From the cardinality of a container, compute the corresponding size in
bytes of the container.
|
protected static short |
highbits(int x) |
protected static short |
lowbits(int x) |
protected static short |
maxLowBit() |
protected static int |
toIntUnsigned(short x) |
protected static int |
unsignedBinarySearch(ShortBuffer array,
int begin,
int end,
short k) |
protected static int |
unsignedDifference(ShortBuffer set1,
int length1,
ShortBuffer set2,
int length2,
short[] buffer) |
protected static int |
unsignedExclusiveUnion2by2(ShortBuffer set1,
int length1,
ShortBuffer set2,
int length2,
short[] buffer) |
protected static int |
unsignedIntersect2by2(ShortBuffer set1,
int length1,
ShortBuffer set2,
int length2,
short[] buffer) |
protected static int |
unsignedLocalIntersect2by2(ShortBuffer set1,
int length1,
ShortBuffer set2,
int length2,
short[] buffer) |
protected static int |
unsignedOneSidedGallopingIntersect2by2(ShortBuffer smallSet,
int smallLength,
ShortBuffer largeSet,
int largeLength,
short[] buffer) |
protected static int |
unsignedUnion2by2(ShortBuffer set1,
int length1,
ShortBuffer set2,
int length2,
short[] buffer) |
protected static void fillArrayAND(short[] container,
LongBuffer bitmap1,
LongBuffer bitmap2)
protected static void fillArrayANDNOT(short[] container,
LongBuffer bitmap1,
LongBuffer bitmap2)
protected static void fillArrayXOR(short[] container,
LongBuffer bitmap1,
LongBuffer bitmap2)
public static int getSizeInBytesFromCardinality(int card)
card - the cardinalityprotected static short highbits(int x)
protected static short lowbits(int x)
protected static short maxLowBit()
protected static int toIntUnsigned(short x)
protected static int unsignedBinarySearch(ShortBuffer array, int begin, int end, short k)
protected static int unsignedDifference(ShortBuffer set1, int length1, ShortBuffer set2, int length2, short[] buffer)
protected static int unsignedExclusiveUnion2by2(ShortBuffer set1, int length1, ShortBuffer set2, int length2, short[] buffer)
protected static int unsignedIntersect2by2(ShortBuffer set1, int length1, ShortBuffer set2, int length2, short[] buffer)
protected static int unsignedLocalIntersect2by2(ShortBuffer set1, int length1, ShortBuffer set2, int length2, short[] buffer)
protected static int unsignedOneSidedGallopingIntersect2by2(ShortBuffer smallSet, int smallLength, ShortBuffer largeSet, int largeLength, short[] buffer)
protected static int unsignedUnion2by2(ShortBuffer set1, int length1, ShortBuffer set2, int length2, short[] buffer)
Copyright © 2014. All Rights Reserved.