net.sue445.kulib.util
Class EmptyCheckUtil

java.lang.Object
  extended by net.sue445.kulib.util.EmptyCheckUtil

public final class EmptyCheckUtil
extends Object

isEmpty util for Array, Collection, Map
String methods is not support, because supported by Slim3 StringUtil

Author:
sue445

Method Summary
static boolean isEmpty(Collection<?> coll)
           
static boolean isEmpty(Map<?,?> map)
           
static
<T> boolean
isEmpty(T[] array)
           
static boolean isNotEmpty(Collection<?> coll)
           
static boolean isNotEmpty(Map<?,?> map)
           
static
<T> boolean
isNotEmpty(T[] array)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isEmpty

public static boolean isEmpty(Collection<?> coll)
Parameters:
coll -
Returns:

isNotEmpty

public static boolean isNotEmpty(Collection<?> coll)
Parameters:
coll -
Returns:

isEmpty

public static boolean isEmpty(Map<?,?> map)
Parameters:
map -
Returns:

isNotEmpty

public static boolean isNotEmpty(Map<?,?> map)
Parameters:
map -
Returns:

isEmpty

public static <T> boolean isEmpty(T[] array)
Parameters:
array -
Returns:

isNotEmpty

public static <T> boolean isNotEmpty(T[] array)
Parameters:
array -
Returns:


Copyright © 2013. All Rights Reserved.