Crea sito


org.zu.ardulink.util
Class Preconditions

java.lang.Object
  extended by org.zu.ardulink.util.Preconditions

public final class Preconditions
extends Object

Ardulink - return to homepage

v0.6.1 Magnum PI

Author:
Peter Fichtner


Method Summary
static void checkArgument(boolean state, String message, Object... args)
           
static
<T> T
checkNotNull(T t, String message, Object... args)
           
static
<T> T
checkNull(T t, String message, Object... args)
           
static void checkState(boolean state, String message, Object... args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkNull

public static <T> T checkNull(T t,
                              String message,
                              Object... args)

checkNotNull

public static <T> T checkNotNull(T t,
                                 String message,
                                 Object... args)

checkArgument

public static void checkArgument(boolean state,
                                 String message,
                                 Object... args)

checkState

public static void checkState(boolean state,
                              String message,
                              Object... args)


Copyright © 2015. All rights reserved.