org.knime.core.node.util
Class ConvenienceMethods

java.lang.Object
  extended by org.knime.core.node.util.ConvenienceMethods

public final class ConvenienceMethods
extends Object

Collection of methods that are useful in different contexts.

Author:
Bernd Wiswedel, University of Konstanz

Method Summary
static boolean areEqual(Object o1, Object o2)
          Determines if both arguments are equal according to their equals method (assumed to be symmetric).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

areEqual

public static boolean areEqual(Object o1,
                               Object o2)
Determines if both arguments are equal according to their equals method (assumed to be symmetric). This method handles null arguments.

Parameters:
o1 - First object for comparison, may be null.
o2 - Second object for comparison, may be null.
Returns:
If both arguments are equal (if either one is null, so must be the other one)


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.