public class BitMap
extends java.lang.Object
Constructor and Description |
---|
BitMap(int sizeInBits) |
Modifier and Type | Method and Description |
---|---|
boolean |
at(int offset) |
void |
atPut(int offset,
boolean value) |
void |
clear() |
int |
getNextOneOffset(int l_offset,
int r_offset) |
boolean |
isSame(BitMap other)
Both bitmaps must be the same size.
|
void |
iterate(BitMapClosure blk) |
void |
set_map(Address addr) |
void |
set_size(int value) |
boolean |
setDifference(BitMap other)
Sets this bitmap to the logical difference between it and the
argument; that is, any bits that are set in the argument are
cleared in this bitmap.
|
void |
setFrom(BitMap other)
Sets this bitmap to the contents of the argument.
|
void |
setIntersection(BitMap other)
Sets this bitmap to the logical intersection of it and the
argument.
|
boolean |
setUnion(BitMap other)
Sets this bitmap to the logical union of it and the
argument.
|
int |
size() |
public int size()
public boolean at(int offset)
public void atPut(int offset, boolean value)
public void set_size(int value)
public void set_map(Address addr)
public void clear()
public void iterate(BitMapClosure blk)
public boolean setUnion(BitMap other)
public void setIntersection(BitMap other)
public void setFrom(BitMap other)
public boolean setDifference(BitMap other)
public boolean isSame(BitMap other)
public int getNextOneOffset(int l_offset, int r_offset)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.