|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.colt.PersistentObject
cern.jet.stat.Buffer
public abstract class Buffer
A buffer holding elements; internally used for computing approximate quantiles.
Field Summary | |
---|---|
boolean |
isAllocated
|
int |
k
|
int |
level
|
int |
weight
|
Constructor Summary | |
---|---|
Buffer(int k)
This method was created in VisualAge. |
Method Summary | |
---|---|
abstract void |
clear()
Clears the receiver. |
boolean |
isAllocated()
Returns whether the receiver is already allocated. |
abstract boolean |
isEmpty()
Returns whether the receiver is empty. |
abstract boolean |
isFull()
Returns whether the receiver is empty. |
boolean |
isPartial()
Returns whether the receiver is partial. |
int |
level()
Returns whether the receiver's level. |
void |
level(int level)
Sets the receiver's level. |
abstract int |
size()
Returns the number of elements contained in the receiver. |
abstract void |
sort()
Sorts the receiver. |
int |
weight()
Returns whether the receiver's weight. |
void |
weight(int weight)
Sets the receiver's weight. |
Methods inherited from class cern.colt.PersistentObject |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int weight
public int level
public int k
public boolean isAllocated
Constructor Detail |
---|
public Buffer(int k)
k
- intMethod Detail |
---|
public abstract void clear()
public boolean isAllocated()
public abstract boolean isEmpty()
public abstract boolean isFull()
public boolean isPartial()
public int level()
public void level(int level)
public abstract int size()
public abstract void sort()
public int weight()
public void weight(int weight)
|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |