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

Quick Search    Search Deep

Freenet
Interface Key  view Key download Key.java

All Superinterfaces:
java.io.Serializable

public interface Key
extends java.io.Serializable

A generic interface to a key

Version:
1.0

Method Summary
 boolean compare(Key a, Key b)
          Compares two other keys to this one to determine which is closer
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 boolean lessThan(Key a)
           
 

Method Detail

compare

public boolean compare(Key a,
                       Key b)
                throws KeyException
Compares two other keys to this one to determine which is closer


lessThan

public boolean lessThan(Key a)
                 throws KeyException

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()