public class DoubleBuffer extends DataBuffer
| Modifier and Type | Field and Description |
|---|---|
double[] |
array |
arrayObject, capacity, end, growthCap, growthMin, start| Constructor and Description |
|---|
DoubleBuffer()
Creates an empty double buffer.
|
DoubleBuffer(double... values) |
DoubleBuffer(FloatBuffer floats) |
DoubleBuffer(int size)
Creates a double buffer of the given size.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(double... whats) |
void |
add(double what) |
java.lang.Object |
clone() |
void |
newArray(int size)
Allocates a new, empty array of the given size and assign it to the
arrayObject property.
|
void |
pack() |
void |
simplifyWithMinimumDistance(double granularity)
Simplify using a minimum-point-distance granularity.
|
java.lang.String |
valuesToString() |
append, clear, copy, copyTo, getSize, insert, isEmpty, makeRoomFor, makeRoomFor, remove, setToMatch, subsection, tidy, toStringpublic DoubleBuffer()
public DoubleBuffer(int size)
public DoubleBuffer(FloatBuffer floats)
public DoubleBuffer(double... values)
public void newArray(int size)
DataBuffernewArray in class DataBufferpublic void add(double what)
public void add(double... whats)
public java.lang.String valuesToString()
public void pack()
pack in class DataBufferpublic java.lang.Object clone()
clone in class DataBufferpublic void simplifyWithMinimumDistance(double granularity)