net.java.quickcheck.util
Class Assert

java.lang.Object
  extended by net.java.quickcheck.util.Assert

public final class Assert
extends Object


Method Summary
static void equal(double expected, double arg, String argName)
           
static void greaterOrEqual(double threshold, double arg, String argName)
           
static void lessOrEqual(double threshold, double arg, String argName)
           
static void notEmpty(char[] arg, String argName)
           
static
<T> void
notEmpty(Collection<T> arg, String argName)
           
static void notEmpty(Object[] arg, String argName)
           
static void notNull(Object arg, String argName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

notNull

public static void notNull(Object arg,
                           String argName)

notEmpty

public static void notEmpty(char[] arg,
                            String argName)

notEmpty

public static void notEmpty(Object[] arg,
                            String argName)

notEmpty

public static <T> void notEmpty(Collection<T> arg,
                                String argName)

lessOrEqual

public static void lessOrEqual(double threshold,
                               double arg,
                               String argName)

equal

public static void equal(double expected,
                         double arg,
                         String argName)

greaterOrEqual

public static void greaterOrEqual(double threshold,
                                  double arg,
                                  String argName)


Copyright © 2011. All Rights Reserved.