public class SparseBitmap
extends java.lang.Object
implements java.lang.Iterable<int[]>
| Constructor and Description |
|---|
SparseBitmap() |
SparseBitmap(SparseBitmap original) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int start,
int end)
Marks the slots between start and end (inclusive) as present.
|
void |
clear() |
boolean |
contains(int start,
int end)
Checks whether all slots between start and end (inclusive) are present.
|
boolean |
isEmpty() |
java.util.Iterator<int[]> |
iterator() |
int |
notOverlapping(int start,
int end) |
void |
remove(int start,
int end)
Marks all slots between start and end (inclusive) as not present.
|
java.lang.String |
toString() |
public SparseBitmap()
public SparseBitmap(SparseBitmap original)
public void add(int start,
int end)
public void clear()
public boolean contains(int start,
int end)
public void remove(int start,
int end)
public java.util.Iterator<int[]> iterator()
iterator in interface java.lang.Iterable<int[]>public boolean isEmpty()
public java.lang.String toString()
toString in class java.lang.Objectpublic int notOverlapping(int start,
int end)