public class RegisterSet extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
count |
static int |
LOG2_BITS_PER_WORD |
static int |
REGISTER_SIZE |
int |
size |
| Constructor and Description |
|---|
RegisterSet(int count) |
RegisterSet(int count,
int[] initialValues) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
bits() |
int |
get(int position) |
static int |
getBits(int count) |
void |
merge(RegisterSet that) |
void |
set(int position,
int value) |
boolean |
updateIfGreater(int position,
int value) |
public static final int LOG2_BITS_PER_WORD
public static final int REGISTER_SIZE
public final int count
public final int size
public RegisterSet(int count)
public RegisterSet(int count,
int[] initialValues)
public static int getBits(int count)
public void set(int position,
int value)
public int get(int position)
public boolean updateIfGreater(int position,
int value)
public void merge(RegisterSet that)
public int[] bits()
Copyright © 2014. All Rights Reserved.