public final class CompressedUnsignedLongArrayByteIterable extends ByteIterableBase
bytes, length, SINGLE_BYTESEMPTY, EMPTY_BYTES, EMPTY_ITERATOR| Modifier and Type | Method and Description |
|---|---|
static ByteIterable |
getIterable(long[] longs) |
static ByteIterable |
getIterable(long[] longs,
int size) |
protected ByteIterator |
getIterator() |
static int |
loadLongs(long[] output,
ByteIterator iterator) |
static int |
loadLongs(long[] output,
ByteIterator iterator,
int size) |
static int |
loadLongs(long[] output,
ByteIterator iterator,
int size,
int bytesPerLong) |
static int |
logarithm(long l) |
compareTo, equals, fillBytes, fillBytes, fillBytes, fillBytes, getBytesUnsafe, getLength, getSource, hashCode, iterator, readIterator, subIterable, toString, toStringpublic static ByteIterable getIterable(long[] longs)
public static ByteIterable getIterable(long[] longs, int size)
public static int loadLongs(long[] output,
ByteIterator iterator)
output - array of longs to load to.iterator - read data from.public static int loadLongs(long[] output,
ByteIterator iterator,
int size)
output - array of longs to load to.iterator - read data from.size - number of longs to load.public static int loadLongs(long[] output,
ByteIterator iterator,
int size,
int bytesPerLong)
output - array of longs to load to.iterator - read data from.size - number of longs to load.bytesPerLong - number of bytes which occupies each long.public static int logarithm(long l)
protected ByteIterator getIterator()
getIterator in class ByteIterableBase