wicket.util.lang
Class Objects

java.lang.Object
  extended bywicket.util.lang.Objects

public abstract class Objects
extends java.lang.Object

Object utilities.

Author:
Jonathan Locke

Method Summary
static java.lang.Object clone(java.lang.Object object)
          Makes a deep clone of an object by serializing and deserializing it.
static boolean equal(java.lang.Object a, java.lang.Object b)
          Returns true if a and b are equal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

equal

public static boolean equal(java.lang.Object a,
                            java.lang.Object b)
Returns true if a and b are equal. Either object may be null.

Parameters:
a - Object a
b - Object b
Returns:
True if the objects are equal

clone

public static java.lang.Object clone(java.lang.Object object)
Makes a deep clone of an object by serializing and deserializing it. The object must be fully serializable to be cloned.

Parameters:
object - The object to clone
Returns:
A deep copy of the object


Copyright © 2004-2005 Wicket developers. All Rights Reserved.