infovis.utils
Class LongStack

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.AbstractLongList
                  extended by cern.colt.list.LongArrayList
                      extended by infovis.utils.LongStack
All Implemented Interfaces:
Serializable, Cloneable

public class LongStack
extends LongArrayList

Class LongStack

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

Field Summary
 
Fields inherited from class cern.colt.PersistentObject
serialVersionUID
 
Constructor Summary
LongStack()
           
LongStack(int initialCapacity)
           
LongStack(long[] elements)
           
 
Method Summary
 long pop()
           
 void push(long v)
           
 long top()
           
 
Methods inherited from class cern.colt.list.LongArrayList
add, beforeInsert, binarySearchFromTo, clone, copy, elements, elements, ensureCapacity, equals, forEach, get, getQuick, indexOfFromTo, lastIndexOfFromTo, partFromTo, removeAll, replaceFromToWithFrom, retainAll, reverse, set, setQuick, shuffleFromTo, sortFromTo, trimToSize
 
Methods inherited from class cern.colt.list.AbstractLongList
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
 
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

LongStack

public LongStack()

LongStack

public LongStack(long[] elements)

LongStack

public LongStack(int initialCapacity)
Method Detail

push

public void push(long v)

pop

public long pop()

top

public long top()


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