com.vaadin.shared.util
Class SharedUtil

java.lang.Object
  extended by com.vaadin.shared.util.SharedUtil
All Implemented Interfaces:
java.io.Serializable

public class SharedUtil
extends java.lang.Object
implements java.io.Serializable

Misc internal utility methods used by both the server and the client package.

Since:
7.1
Author:
Vaadin Ltd
See Also:
Serialized Form

Constructor Summary
SharedUtil()
           
 
Method Summary
static boolean equals(java.lang.Object o1, java.lang.Object o2)
          Checks if a and b are equals using Object.equals(Object).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedUtil

public SharedUtil()
Method Detail

equals

public static boolean equals(java.lang.Object o1,
                             java.lang.Object o2)
Checks if a and b are equals using Object.equals(Object). Handles null values as well. Does not ensure that objects are of the same type. Assumes that the first object's equals method handle equals properly.

Parameters:
o1 - The first value to compare
o2 - The second value to compare
Returns:
true if the objects are equal, false otherwise


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.