DESY ACOP Beans Home
com.cosylab.util
Class PrimitiveDoubleList
java.lang.Object
com.cosylab.util.PrimitiveDoubleList
public class PrimitiveDoubleList
- extends java.lang.Object
- Version:
- $id$
this is temporary version of a tool that performs some tasks
with double[]; for the moment adding to array of fixed lenght
and retrieving from such array is implemented.
- Author:
- Gasper Pajor
Constructor Summary |
PrimitiveDoubleList(int initialSize,
boolean grow)
Constructor for PrimitiveDoubleList. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
primaryArray
public double[] primaryArray
PrimitiveDoubleList
public PrimitiveDoubleList(int initialSize,
boolean grow)
- Constructor for PrimitiveDoubleList.
size
public int size()
getArray
public double[] getArray()
addElement
public void addElement(double el)
removeOldest
public void removeOldest()
removeOldest
public void removeOldest(int i)
get
public double get(int index)
set
public void set(int index,
double value)
fillLatest
public double[] fillLatest(double[] arrayToFill)
main
public static void main(java.lang.String[] args)
- Run test applet.
- Parameters:
args
- command line parameters
Copyright © 2010. All Rights Reserved.