nl.knowledgeplaza.math
Class NumberUtil

java.lang.Object
  extended by nl.knowledgeplaza.math.NumberUtil

public class NumberUtil
extends java.lang.Object


Constructor Summary
NumberUtil()
           
 
Method Summary
static boolean equal(java.math.BigDecimal n1, java.math.BigDecimal n2)
           
static boolean equal(java.math.BigInteger n1, java.math.BigInteger n2)
           
static boolean equalOrGreater(java.math.BigDecimal n1, java.math.BigDecimal n2)
           
static boolean equalOrGreater(java.math.BigInteger n1, java.math.BigInteger n2)
           
static boolean greater(java.math.BigDecimal n1, java.math.BigDecimal n2)
           
static boolean greater(java.math.BigInteger n1, java.math.BigInteger n2)
           
static boolean less(java.math.BigDecimal n1, java.math.BigDecimal n2)
           
static boolean less(java.math.BigInteger n1, java.math.BigInteger n2)
           
static boolean lessOrEqual(java.math.BigDecimal n1, java.math.BigDecimal n2)
           
static boolean lessOrEqual(java.math.BigInteger n1, java.math.BigInteger n2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberUtil

public NumberUtil()
Method Detail

less

public static boolean less(java.math.BigInteger n1,
                           java.math.BigInteger n2)

lessOrEqual

public static boolean lessOrEqual(java.math.BigInteger n1,
                                  java.math.BigInteger n2)

equal

public static boolean equal(java.math.BigInteger n1,
                            java.math.BigInteger n2)

equalOrGreater

public static boolean equalOrGreater(java.math.BigInteger n1,
                                     java.math.BigInteger n2)

greater

public static boolean greater(java.math.BigInteger n1,
                              java.math.BigInteger n2)

less

public static boolean less(java.math.BigDecimal n1,
                           java.math.BigDecimal n2)

lessOrEqual

public static boolean lessOrEqual(java.math.BigDecimal n1,
                                  java.math.BigDecimal n2)

equal

public static boolean equal(java.math.BigDecimal n1,
                            java.math.BigDecimal n2)

equalOrGreater

public static boolean equalOrGreater(java.math.BigDecimal n1,
                                     java.math.BigDecimal n2)

greater

public static boolean greater(java.math.BigDecimal n1,
                              java.math.BigDecimal n2)


Copyright © 2010 KnowledgePlaza. All Rights Reserved.