Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.vinculum.engine
Class HashUtil  view HashUtil download HashUtil.java

java.lang.Object
  extended bycom.vinculum.engine.HashUtil

public class HashUtil
extends java.lang.Object


Field Summary
private  long hash_code
           
private static long hash_false
           
private static long hash_true
           
private static long initial_hash
           
private static long[] mix_master
           
private static long NOSIGN
           
 
Constructor Summary
HashUtil()
           
HashUtil(boolean arg)
           
HashUtil(byte arg)
           
HashUtil(char arg)
           
HashUtil(HashUtil hc)
           
HashUtil(int arg)
           
HashUtil(long arg)
           
HashUtil(short arg)
           
HashUtil(java.lang.String arg)
           
HashUtil(java.lang.StringBuffer arg)
           
 
Method Summary
 byte bag(byte b)
           
 char bag(char b)
           
 int bag(int b)
           
 long bag(long b)
           
 short bag(short b)
           
private static long buzhash(java.lang.StringBuffer arg)
           
 boolean equal(HashUtil b)
           
 java.lang.String getStringHash()
           
 boolean less(HashUtil b)
           
private static long lhv(long arg)
           
 boolean more(HashUtil b)
           
 boolean not_equal(HashUtil b)
           
 HashUtil sag(HashUtil b)
           
 HashUtil wag(HashUtil b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hash_code

private long hash_code

initial_hash

private static long initial_hash

hash_true

private static long hash_true

hash_false

private static long hash_false

mix_master

private static long[] mix_master

NOSIGN

private static long NOSIGN
Constructor Detail

HashUtil

public HashUtil()

HashUtil

public HashUtil(HashUtil hc)

HashUtil

public HashUtil(boolean arg)

HashUtil

public HashUtil(byte arg)

HashUtil

public HashUtil(short arg)

HashUtil

public HashUtil(char arg)

HashUtil

public HashUtil(int arg)

HashUtil

public HashUtil(long arg)

HashUtil

public HashUtil(java.lang.String arg)

HashUtil

public HashUtil(java.lang.StringBuffer arg)
Method Detail

lhv

private static long lhv(long arg)

buzhash

private static long buzhash(java.lang.StringBuffer arg)

equal

public boolean equal(HashUtil b)

not_equal

public boolean not_equal(HashUtil b)

more

public boolean more(HashUtil b)

less

public boolean less(HashUtil b)

wag

public HashUtil wag(HashUtil b)

sag

public HashUtil sag(HashUtil b)

bag

public byte bag(byte b)

bag

public short bag(short b)

bag

public char bag(char b)

bag

public int bag(int b)

bag

public long bag(long b)

getStringHash

public java.lang.String getStringHash()