AeroGear Netty SockJS Codec 0.11.0

org.jboss.aerogear.io.netty.handler.codec.sockjs.util
Class ArgumentUtil

java.lang.Object
  extended by org.jboss.aerogear.io.netty.handler.codec.sockjs.util.ArgumentUtil

public final class ArgumentUtil
extends Object


Method Summary
static void checkNotEmpty(Collection<?> c, String name)
           
static void checkNotNegative(long value, String name)
           
static
<T> void
checkNotNull(T ref, String name)
           
static void checkNotNullAndNotEmpty(Collection<?> c, String name)
           
static
<T> void
checkNotNullAndNotEmpty(T ref, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkNotNull

public static <T> void checkNotNull(T ref,
                                    String name)

checkNotNullAndNotEmpty

public static <T> void checkNotNullAndNotEmpty(T ref,
                                               String name)

checkNotNullAndNotEmpty

public static void checkNotNullAndNotEmpty(Collection<?> c,
                                           String name)

checkNotEmpty

public static void checkNotEmpty(Collection<?> c,
                                 String name)

checkNotNegative

public static void checkNotNegative(long value,
                                    String name)

AeroGear Netty SockJS Codec 0.11.0

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.