Class JOP.persist.Hashcode
All Packages  Class Hierarchy  This Package  Previous  Next  Index  Home

Class JOP.persist.Hashcode

java.lang.Object
   |
   +----JOP.persist.Hashcode

public class Hashcode
extends Object

This is an INTERNAL class.

Calculate the 'hash' of an object. This value is saved as the 'checksum' of the object and is used to test whether the object has changed. The 'hash' is a 32bit quantity, currently calculated as the Posix CRC hash.


Constructor Index

 o Hashcode()

Method Index

 o calc(boolean)
 o calc(byte)
 o calc(byte[], int, int)
 o calc(char[], int, int)
 o calc(double)
 o calc(float)
 o calc(int)
 o calc(long)
 o calc(Object)
 o calc(short)
 o calc(String)
 o getHashcode()
Return the hashcode value.

Constructors

 o Hashcode
  public Hashcode()

Methods

 o getHashcode
  public int getHashcode()
Return the hashcode value. A hashcode value of 0 is never returned.
 o calc
  public void calc(boolean b)
 o calc
  public void calc(byte b)
 o calc
  public void calc(short val)
 o calc
  public void calc(int val)
 o calc
  public void calc(long val)
 o calc
  public void calc(Object obj)
 o calc
  public void calc(float val)
 o calc
  public void calc(double val)
 o calc
  public void calc(String s)
 o calc
  public void calc(byte buf[],
                   int off,
                   int len)
 o calc
  public void calc(char buf[],
                   int off,
                   int len)

All Packages  Class Hierarchy  This Package  Previous  Next  Index  Home