|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OB
An object to be stored in an Index must comply with this interface A distance must be defined and also means of encoding and decoding the object from a byte representation. Objects that implement this interface will be created by using the default constructor and initialized by the load method. Exceptions generated by the user should extend from OBException WARNING: The equals method *must* be implemented. The equals does not have to be true when the distance returns 0. Equals is only used when the database is queried for the existence of an object.
Method Summary |
---|
Methods inherited from interface net.obsearch.Storable |
---|
load, store |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |