infovis.utils
Class DoubleStack

java.lang.Object
  extended by cern.colt.PersistentObject
      extended by cern.colt.list.AbstractCollection
          extended by cern.colt.list.AbstractList
              extended by cern.colt.list.AbstractDoubleList
                  extended by cern.colt.list.DoubleArrayList
                      extended by infovis.utils.DoubleStack
All Implemented Interfaces:
DoubleBufferConsumer, Serializable, Cloneable

public class DoubleStack
extends DoubleArrayList

Class DoubleStack

Version:
$Revision: 1.2 $
Author:
Jean-Daniel Fekete
See Also:
Serialized Form

Field Summary
 
Fields inherited from class cern.colt.PersistentObject
serialVersionUID
 
Constructor Summary
DoubleStack()
           
DoubleStack(double[] elements)
           
DoubleStack(int initialCapacity)
           
 
Method Summary
 double pop()
           
 void push(double v)
           
 double top()
           
 
Methods inherited from class cern.colt.list.DoubleArrayList
add, beforeInsert, binarySearchFromTo, clone, copy, elements, elements, ensureCapacity, equals, forEach, get, getQuick, indexOfFromTo, lastIndexOfFromTo, partFromTo, removeAll, replaceFromToWithFrom, retainAll, reverse, set, setQuick, shuffleFromTo, trimToSize
 
Methods inherited from class cern.colt.list.AbstractDoubleList
addAllOf, addAllOfFromTo, beforeInsertAllOfFromTo, binarySearch, contains, delete, fillFromToWith, indexOf, lastIndexOf, mergeSortFromTo, mergeSortFromTo, quickSortFromTo, quickSortFromTo, removeFromTo, replaceFromToWithFromTo, replaceFromWith, size, times, toList, toString
 
Methods inherited from class cern.colt.list.AbstractList
addAllOf, beforeInsertAllOf, clear, mergeSort, quickSort, remove, setSize, shuffle, sort, sortFromTo
 
Methods inherited from class cern.colt.list.AbstractCollection
isEmpty
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleStack

public DoubleStack()

DoubleStack

public DoubleStack(double[] elements)

DoubleStack

public DoubleStack(int initialCapacity)
Method Detail

push

public void push(double v)

pop

public double pop()

top

public double top()


Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.