|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ic.doc.automed.util.hashing.OrderPreservedHashing
public class OrderPreservedHashing
OrderPreservedHashing.java Hashes a string but preserves the order, i.e. s1 op s2 => h(s1> op h(s2) where op = {<, <=, =, >, >=, !=}
Constructor Summary | |
---|---|
OrderPreservedHashing()
Creates a new instance of StructurePreservedHashing |
Method Summary | |
---|---|
java.lang.String |
getName()
Unique name of this hash |
int |
hash(java.lang.String s,
int numBits)
Hash a |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderPreservedHashing()
Method Detail |
---|
public int hash(java.lang.String s, int numBits)
hash
in interface StringHash
public java.lang.String getName()
getName
in interface StringHash
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |