public class BoundedSortedDoubleArray extends DoubleArray
data, index
Constructor and Description |
---|
BoundedSortedDoubleArray() |
BoundedSortedDoubleArray(double[] data) |
BoundedSortedDoubleArray(int size) |
BoundedSortedDoubleArray(int maxLength,
double[] data) |
BoundedSortedDoubleArray(int size,
int maxLength) |
Modifier and Type | Method and Description |
---|---|
void |
add(double d)
adds the eleemnt in a sorted way
|
void |
addAll(double[] a)
adds the set of values at the end of the list
|
int |
getMaxLength() |
void |
setMaxLength(int maxSize) |
addAll, ensureCapacity, get, getData, getFast, set, size, trimToSize
public BoundedSortedDoubleArray()
public BoundedSortedDoubleArray(int size)
public BoundedSortedDoubleArray(int size, int maxLength)
public BoundedSortedDoubleArray(int maxLength, double[] data)
public BoundedSortedDoubleArray(double[] data)
public int getMaxLength()
public void setMaxLength(int maxSize)
public void add(double d)
add
in class DoubleArray
d
- public void addAll(double[] a)
DoubleArray
addAll
in class DoubleArray
Copyright © 2012. All Rights Reserved.