Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.action.util
Class MathUtil

java.lang.Object
  extended by com.jivesoftware.base.action.util.MathUtil

public class MathUtil
extends java.lang.Object


Method Summary
static double getAdd(double op1, double op2)
           
static int getAdd(int op1, int op2)
           
static long getAdd(long op1, long op2)
           
static double getDivide(double op1, double op2)
           
static int getDivide(int op1, int op2)
           
static long getDivide(long op1, long op2)
           
static double getMax(double op1, double op2)
           
static int getMax(int op1, int op2)
           
static long getMax(long op1, long op2)
           
static double getMin(double op1, double op2)
           
static int getMin(int op1, int op2)
           
static long getMin(long op1, long op2)
           
static double getMultiply(double op1, double op2)
           
static int getMultiply(int op1, int op2)
           
static long getMultiply(long op1, long op2)
           
static double getSubtract(double op1, double op2)
           
static int getSubtract(int op1, int op2)
           
static long getSubtract(long op1, long op2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAdd

public static final int getAdd(int op1,
                               int op2)

getAdd

public static final long getAdd(long op1,
                                long op2)

getAdd

public static final double getAdd(double op1,
                                  double op2)

getSubtract

public static final int getSubtract(int op1,
                                    int op2)

getSubtract

public static final long getSubtract(long op1,
                                     long op2)

getSubtract

public static final double getSubtract(double op1,
                                       double op2)

getMultiply

public static final int getMultiply(int op1,
                                    int op2)

getMultiply

public static final long getMultiply(long op1,
                                     long op2)

getMultiply

public static final double getMultiply(double op1,
                                       double op2)

getDivide

public static final int getDivide(int op1,
                                  int op2)

getDivide

public static final long getDivide(long op1,
                                   long op2)

getDivide

public static final double getDivide(double op1,
                                     double op2)

getMin

public static final int getMin(int op1,
                               int op2)

getMin

public static final long getMin(long op1,
                                long op2)

getMin

public static final double getMin(double op1,
                                  double op2)

getMax

public static final int getMax(int op1,
                               int op2)

getMax

public static final long getMax(long op1,
                                long op2)

getMax

public static final double getMax(double op1,
                                  double op2)

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.