Uses of Class
anthill.util.KeyHash

Packages that use KeyHash
freenetant This package contains a simple ant implementation that perform a random walking through a peer-to-peer network. 
gnutant This package contains a simple ant implementation. 
 

Uses of KeyHash in freenetant
 

Methods in freenetant with parameters of type KeyHash
 boolean FreenetAntPheromone.addKeyhash(KeyHash keyhash, NestId nestid)
          Add a new nest containing a document that match the specified keyword, represented by a hash of the keyword.
 java.lang.Object[] FreenetAntPheromone.getCloseNests(KeyHash keyhash)
          Construct and return an array containing the neighbours nests for this node ordered by closeness of the value of the key (keyhash).
 

Uses of KeyHash in gnutant
 

Methods in gnutant with parameters of type KeyHash
 boolean GnutantPheromone.addKeyhash(KeyHash keyhash, NestId nestid)
          Add a new nest containing a document that match the specified keyword, represented by a hash of the keyword.
 java.util.ArrayList GnutantPheromone.getNextNest(KeyHash keyhash, java.util.ArrayList path)
          Obtains a set of possible next nests based on the provided keyhash.
 

Constructors in gnutant with parameters of type KeyHash
BackwardGnutant(KeyHash keyhash, Resource[] resources, java.util.ArrayList path)
          Initializes a new BackwardGnutant with the set of resources to be used for updating the distributed index.
Gnutant(RequestId rid, java.lang.String query, KeyHash key, NestId requestor)
          Instantiate a new Gnutant by setting the query to be satisfied and the hash value to be searched.
Insant(KeyHash keyhash, UrlResource url)
          Instantiate a new Gnutant by setting the query to be satisfied and the hash value to be searched.
TrailGnutant(NestId provider, KeyHash key, Resource[] resources, AntId trailId, History history)
          Initializes a new TrailGnutant with the set of resources to be returned, the identifier of the requestor nest and an ant identifier to be used to obtain return information through nests.
SearchGnutant(RequestId rid, java.lang.String query, KeyHash keyhash)
          Instantiate a new SearchGnutant by setting the query to be satisfied and the hash value to be searched.