| Modifier and Type | Field and Description |
|---|---|
protected static int |
LOGW |
protected long |
numbits |
protected static int |
W |
protected long[] |
words |
| Constructor and Description |
|---|
Bitmap64() |
Bitmap64(Bitmap64 other) |
Bitmap64(Bitmap64 other,
long numbits) |
Bitmap64(long nbits) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
access(long bitIndex) |
void |
append(boolean value) |
protected void |
ensureSize(int wordsRequired) |
long |
getNumBits() |
long |
getRealSizeBytes() |
long |
getSizeBytes() |
long |
getWord(int word) |
protected static int |
lastWordNumBits(long numbits) |
void |
load(InputStream input,
ProgressListener listener) |
static long |
numBytes(long numbits) |
static long |
numWords(long numbits) |
void |
save(OutputStream output,
ProgressListener listener) |
long |
selectNext1(long fromIndex) |
long |
selectPrev1(long start) |
void |
set(long bitIndex,
boolean value) |
String |
toString() |
void |
trim(long numbits) |
void |
trimToSize() |
protected static int |
wordIndex(long bitIndex)
Given a bit index, return word index containing it.
|
protected static final int LOGW
protected static final int W
protected long numbits
protected long[] words
public Bitmap64()
public Bitmap64(long nbits)
public Bitmap64(Bitmap64 other)
public Bitmap64(Bitmap64 other, long numbits)
protected static int wordIndex(long bitIndex)
public static long numWords(long numbits)
public static long numBytes(long numbits)
protected static int lastWordNumBits(long numbits)
protected final void ensureSize(int wordsRequired)
public void trim(long numbits)
public void trimToSize()
public boolean access(long bitIndex)
public void append(boolean value)
public void set(long bitIndex,
boolean value)
public long selectPrev1(long start)
public long selectNext1(long fromIndex)
public long getWord(int word)
public long getNumBits()
public long getSizeBytes()
public void save(OutputStream output, ProgressListener listener) throws IOException
IOExceptionpublic void load(InputStream input, ProgressListener listener) throws IOException
IOExceptionpublic long getRealSizeBytes()
Copyright © 2018 DataWeb Research. All rights reserved.