Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javatools.util
Class NullUtils  view NullUtils download NullUtils.java

java.lang.Object
  extended byjavatools.util.NullUtils

public class NullUtils
extends java.lang.Object

Contains some functions for use with null values.

Version:
0.0.1

Constructor Summary
NullUtils()
          Creates new NullUtils
 
Method Summary
static boolean isArrayNull(java.lang.Object[] arr)
          Checks if an array is made only of null objects.
static boolean isListNull(java.util.List lst)
          Checks if a list contains only null objects.
static java.lang.Object[] nullArray(int count)
          Returns an array of null objects.
static java.util.List nullList(int count)
          A List of null objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullUtils

public NullUtils()
Creates new NullUtils

Method Detail

nullArray

public static java.lang.Object[] nullArray(int count)
Returns an array of null objects.


nullList

public static java.util.List nullList(int count)
A List of null objects.


isArrayNull

public static boolean isArrayNull(java.lang.Object[] arr)
Checks if an array is made only of null objects.


isListNull

public static boolean isListNull(java.util.List lst)
Checks if a list contains only null objects.