All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.functions.Hash

java.lang.Object
   |
   +----COM.objectspace.jgl.functions.Hash

public class Hash
extends Object
implements UnaryFunction
Hash is a unary function that returns the hash code of its operand.


Constructor Index

 o Hash()

Method Index

 o execute(Object)
Return the hash code of my operand as an Integer, or 0 if the operand is null.

Constructors

 o Hash
 public Hash()

Methods

 o execute
 public Object execute(Object object)
Return the hash code of my operand as an Integer, or 0 if the operand is null.

Parameters:
object - The operand.
Returns:
The hash code of the operand, using the standard Java hashCode() method.

All Packages  Class Hierarchy  This Package  Previous  Next  Index