me.prettyprint.cassandra.utils
Class Assert
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Assert
public Assert()
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.