com.ezware.oxbow.swingbits.util
Class Preconditions

java.lang.Object
  extended by com.ezware.oxbow.swingbits.util.Preconditions

public class Preconditions
extends Object


Method Summary
static void checkArgument(boolean expression)
           
static void checkArgument(boolean expression, String message)
           
static
<T> T
checkNotNull(T ref)
           
static
<T> T
checkNotNull(T ref, String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkArgument

public static void checkArgument(boolean expression)

checkArgument

public static void checkArgument(boolean expression,
                                 String message)

checkNotNull

public static <T> T checkNotNull(T ref)

checkNotNull

public static <T> T checkNotNull(T ref,
                                 String message)


Copyright © 2011. All Rights Reserved.