infovis.utils
Class IntStack

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.AbstractIntList
                  extended by cern.colt.list.IntArrayList
                      extended by infovis.utils.IntStack
All Implemented Interfaces:
IntBufferConsumer, Serializable, Cloneable

public class IntStack
extends IntArrayList

Class IntStack

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

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

IntStack

public IntStack()

IntStack

public IntStack(int[] elements)

IntStack

public IntStack(int initialCapacity)
Method Detail

push

public void push(int v)

pop

public int pop()

top

public int top()

setTop

public void setTop(int v)


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