Package org.deidentifier.arx
Klasse RowSet
java.lang.Object
org.deidentifier.arx.RowSet
- Alle implementierten Schnittstellen:
Serializable,Cloneable
A set of rows.
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidadd(int rowIndex) Sets a bitclone()booleancontains(int rowIndex) Checks whether the bit is setstatic RowSetcreate(int length) Creates a new instancestatic RowSetCreates a new instanceintlength()Returns the number of available bitsvoidremove(int rowIndex) Unsets a bitintsize()Returns the number of bits setvoidswap(int rowIndex1, int rowIndex2) Swaps two bits
-
Methodendetails
-
create
Creates a new instance- Parameter:
data-- Gibt zurück:
-
create
Creates a new instance- Parameter:
length-- Gibt zurück:
-
add
public void add(int rowIndex) Sets a bit- Parameter:
rowIndex-
-
clone
-
contains
public boolean contains(int rowIndex) Checks whether the bit is set- Parameter:
rowIndex-- Gibt zurück:
-
length
public int length()Returns the number of available bits- Gibt zurück:
-
remove
public void remove(int rowIndex) Unsets a bit- Parameter:
rowIndex-
-
size
public int size()Returns the number of bits set- Gibt zurück:
-
swap
public void swap(int rowIndex1, int rowIndex2) Swaps two bits- Parameter:
rowIndex1-rowIndex2-
-