me.prettyprint.cassandra.utils
Class Assert

java.lang.Object
  extended by me.prettyprint.cassandra.utils.Assert

public final class Assert
extends Object

A generic low weight assert utility, very similar with Spring's Assert class, just without the dependency on Spring See for example http://www.jarvana.com/jarvana/view/org/springframework/spring /1.2.9/spring-1.2.9-javadoc.jar!/org/springframework/util/Assert.html

Author:
Ran Tavory

Constructor Summary
Assert()
           
 
Method Summary
static void isTrue(boolean b, String message)
           
static void noneNull(Object... object)
           
static void notNull(Object object, String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Assert

public Assert()
Method Detail

notNull

public static void notNull(Object object,
                           String message)

noneNull

public static void noneNull(Object... object)

isTrue

public static void isTrue(boolean b,
                          String message)


Copyright © 2011. All Rights Reserved.