unannoy.util
Class Stuff

java.lang.Object
  |
  +--unannoy.util.Stuff

public class Stuff
extends java.lang.Object

Version:
$Revision:$
$Date:$
Author:
Eric Kow (kow at loria point fr)

Constructor Summary
Stuff()
           
 
Method Summary
static boolean notNullOrEmpty(java.util.Collection col)
          Returns false if the Collection parameter is null or is empty-length.
static boolean notNullOrEmpty(java.lang.String str)
          Returns false if the String parameter is null or is empty-length.
static boolean nullOrEmpty(java.util.Collection col)
          Returns true if the Collection parameter is null or is empty-length.
static boolean nullOrEmpty(java.lang.String str)
          Returns true if the String parameter is null or is empty-length.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stuff

public Stuff()
Method Detail

nullOrEmpty

public static boolean nullOrEmpty(java.lang.String str)
Returns true if the String parameter is null or is empty-length.

Returns:
true if the String parameter is null or is empty-length.

notNullOrEmpty

public static boolean notNullOrEmpty(java.lang.String str)
Returns false if the String parameter is null or is empty-length.

Returns:
false if the String parameter is null or is empty-length.

nullOrEmpty

public static boolean nullOrEmpty(java.util.Collection col)
Returns true if the Collection parameter is null or is empty-length.

Returns:
true if the Collection parameter is null or is empty-length.

notNullOrEmpty

public static boolean notNullOrEmpty(java.util.Collection col)
Returns false if the Collection parameter is null or is empty-length.

Returns:
false if the Collection parameter is null or is empty-length.