org.restlet.client.engine.util
Class SystemUtils

java.lang.Object
  extended by org.restlet.client.engine.util.SystemUtils

public class SystemUtils
extends Object

System utilities.

Author:
Jerome Louvel

Method Summary
static boolean equals(Object source, Object target)
          Indicates if both fields are equal.
static int hashCode(Object... objects)
          Computes the hash code of a set of objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

equals

public static boolean equals(Object source,
                             Object target)
Indicates if both fields are equal. For this to be true, they must either be both null or return true to the Object.equals(Object) method.

Parameters:
source - The source field.
target - The target field.
Returns:
True if both fields are equals.

hashCode

public static int hashCode(Object... objects)
Computes the hash code of a set of objects. Follows the algorithm specified in List.hasCode().

Parameters:
objects - the objects to compute the hashCode
Returns:
The hash code of a set of objects.


Copyright © 2005-2014 Restlet.