DESY ACOP Beans Home

com.cosylab.util
Class PrimitiveLongList

java.lang.Object
  extended by com.cosylab.util.PrimitiveLongList

public class PrimitiveLongList
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

Field Summary
 long[] primaryArray
           
 
Constructor Summary
PrimitiveLongList(int initialSize, boolean grow)
          Constructor for PrimitiveDoubleList.
 
Method Summary
 void addElement(long el)
           
 long[] fillLatest(long[] arrayToFill)
           
 long get(int index)
           
 long[] getArray()
           
static void main(java.lang.String[] args)
          Run test applet.
 void removeOldest()
           
 void removeOldest(int i)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

primaryArray

public long[] primaryArray
Constructor Detail

PrimitiveLongList

public PrimitiveLongList(int initialSize,
                         boolean grow)
Constructor for PrimitiveDoubleList.

Method Detail

size

public int size()

getArray

public long[] getArray()

addElement

public void addElement(long el)

removeOldest

public void removeOldest()

removeOldest

public void removeOldest(int i)

get

public long get(int index)

fillLatest

public long[] fillLatest(long[] arrayToFill)

main

public static void main(java.lang.String[] args)
Run test applet.

Parameters:
args - command line parameters


Copyright © 2010. All Rights Reserved.