infovis.utils
Class ShortStack

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.AbstractShortList
                  extended by cern.colt.list.ShortArrayList
                      extended by infovis.utils.ShortStack
All Implemented Interfaces:
Serializable, Cloneable

public class ShortStack
extends ShortArrayList

Class ShortStack

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

Field Summary
 
Fields inherited from class cern.colt.PersistentObject
serialVersionUID
 
Constructor Summary
ShortStack()
           
ShortStack(int initialCapacity)
           
ShortStack(short[] elements)
           
 
Method Summary
 short pop()
           
 void push(short v)
           
 short top()
           
 
Methods inherited from class cern.colt.list.ShortArrayList
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.AbstractShortList
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

ShortStack

public ShortStack()

ShortStack

public ShortStack(short[] elements)

ShortStack

public ShortStack(int initialCapacity)
Method Detail

push

public void push(short v)

pop

public short pop()

top

public short top()


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