Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.maloi.evolvo.expressiontree.vm
Class Stack  view Stack download Stack.java

java.lang.Object
  extended byorg.maloi.evolvo.expressiontree.vm.Stack

public class Stack
extends java.lang.Object

Simple stack of doubles


Field Summary
(package private)  int stackPointer
           
(package private)  double[] theStack
           
 
Constructor Summary
Stack()
           
Stack(int initialSize)
           
 
Method Summary
 double pop()
           
 void push(double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theStack

double[] theStack

stackPointer

int stackPointer
Constructor Detail

Stack

public Stack()

Stack

public Stack(int initialSize)
Method Detail

push

public void push(double value)

pop

public double pop()