public class RowSet
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Method and Description |
|---|---|
void |
add(int rowIndex)
Sets a bit
|
RowSet |
clone() |
boolean |
contains(int rowIndex)
Checks whether the bit is set
|
static RowSet |
create(Data data)
Creates a new instance
|
static RowSet |
create(int length)
Creates a new instance
|
int |
length()
Returns the number of available bits
|
void |
remove(int rowIndex)
Unsets a bit
|
int |
size()
Returns the number of bits set
|
void |
swap(int rowIndex1,
int rowIndex2)
Swaps two bits
|
public static RowSet create(int length)
length - public void add(int rowIndex)
rowIndex - public RowSet clone()
clone in class java.lang.Objectpublic boolean contains(int rowIndex)
rowIndex - public int length()
public void remove(int rowIndex)
rowIndex - public int size()
public void swap(int rowIndex1,
int rowIndex2)
rowIndex1 - rowIndex2 -