org.encog.util.datastruct
public class StackInt extends Object
Constructor and Description |
---|
StackInt(int size)
Construct a new stack.
|
public StackInt(int size)
size
- The size of the stack.public boolean isEmpty()
public void push(int i)
i
- The value to push onto the stack.public int pop()
public int add()
public int sub()
public int mul()
public int div()
public int size()
public int max(int size)
public int min(int size)
Copyright © 2014. All Rights Reserved.