public class IntegerArray extends Object
FRAGSIZE2POW
. If the array fragment does not contain any value
it is not allocated at all and its values are supposed to be 0.Constructor and Description |
---|
IntegerArray() |
IntegerArray(DataInput in) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
dec(int index) |
int |
divadd(int by,
IntegerArray addition)
Calculates
this/by+addition (this and addition are vectors). |
void |
dump(PrintStream out,
int from_index) |
int |
get(int index) |
int |
highestSet()
Highest index set by @{link #set} method.
|
void |
inc(int index,
int byvalue) |
void |
set(int index,
int value) |
void |
store(DataOutput out) |
public IntegerArray()
public IntegerArray(DataInput in) throws IOException
IOException
public void clear()
public int divadd(int by, IntegerArray addition)
this/by+addition
(this and addition are vectors). The maximum difference
between the current vector and the vector after calculation is returned.public void dump(PrintStream out, int from_index)
public void store(DataOutput out) throws IOException
IOException
public int highestSet()
set(int, int)
public void set(int index, int value)
public int get(int index)
public void inc(int index, int byvalue)
public int dec(int index)
Copyright © 2016 Egothor. All Rights Reserved.