Documentation of 'org.encog.util.datastruct.StackInt' Java class
StackInt
org.encog.util.datastruct

Class StackInt



  • public class StackInt
    extends java.lang.Object
    An integer stack.
    • Constructor Summary

      Constructors 
      Constructor and Description
      StackInt(int size)
      Construct a new stack.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int add() 
      int div() 
      boolean isEmpty() 
      int max(int size) 
      int min(int size) 
      int mul() 
      int pop() 
      void push(int i)
      Push an int onto the stack.
      int size() 
      int sub() 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StackInt

        public StackInt(int size)
        Construct a new stack.
        Parameters:
        size - The size of the stack.
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Returns:
        True, if the stack is empty.
      • push

        public void push(int i)
        Push an int onto the stack.
        Parameters:
        i - The value to push onto the stack.
      • pop

        public int pop()
      • add

        public int add()
      • sub

        public int sub()
      • mul

        public int mul()
      • div

        public int div()
      • size

        public int size()
      • max

        public int max(int size)
      • min

        public int min(int size)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.