Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.lsmp.djep.groupJep.function
Class GDivide

    java.lang.Object
      org.nfunk.jep.function.PostfixMathCommand
          org.lsmp.djep.groupJep.function.GDivide

All Implemented Interfaces:
  PostfixMathCommandI

    public class GDivide

extends PostfixMathCommand

Divide function for use with arbitary groups. Actual behaviour defined by the Group.

Author:
  Rich Morris Created on 05-Mar-2004

Field Summary

Fields inherited from class org.nfunk.jep.function.PostfixMathCommand
`curNumberOfParameters, numberOfParameters`

Constructor Summary
`GDivide(GroupI group)`

Method Summary
`java.lang.Object` | `div(java.lang.Object param1, java.lang.Object param2)`
`void` | `run(java.util.Stack stack)` Calculates the result of applying the "/" operator to the arguments from the stack and pushes it back on the stack.

Methods inherited from class org.nfunk.jep.function.PostfixMathCommand
`checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GDivide

    public GDivide(GroupI group)

Method Detail

### run

    public void run(java.util.Stack stack)
             throws ParseException

  Calculates the result of applying the "/" operator to the arguments from the stack and pushes it back on the stack.

  Specified by:
    `run` in interface `PostfixMathCommandI`
  Overrides:
    `run` in class `PostfixMathCommand`
  Throws:
    `ParseException`

### div

    public java.lang.Object div(java.lang.Object param1,
                                java.lang.Object param2)
                         throws ParseException

  Throws:
    `ParseException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

http://www.singularsys.com/jep Copyright © 2007 Singular Systems