Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.util
Class Null

    java.lang.Object
      org.jboss.util.Null

All Implemented Interfaces:
  Serializable

public final class Null
extends Object
implements Serializable

A class that represents `null`.

`VALUE` is used to given an object variable a dual-mode nullified value, where `null` would indicate that the value is empty, and `VALUE` would idicate that the value has been set to `null` (or something to that effect).

Version:
  `$Revision: 1.1 $`
Author:
  Jason Dillon
See Also:
  Serialized Form

Field Summary
`static Null` | `VALUE` The primary instance of Null.

Method Summary
`boolean` | `equals(Object obj)` Check if the given object is a Null instance or `null`.
`int` | `hashCode()` Returns zero.
`String` | `toString()` Return a string representation.

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### VALUE

    public static final Null VALUE

  The primary instance of Null.

Method Detail

### toString

    public String toString()

  Return a string representation.

  Returns:
    Null

### hashCode

    public int hashCode()

  Returns zero.

  Returns:
    Zero.

### equals

    public boolean equals(Object obj)

  Check if the given object is a Null instance or `null`.

  Parameters:
    `obj` - Object to test.
  Returns:
    True if the given object is a Null instance or `null`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.