votorola.a.register
Class Neighbourhood.Key

java.lang.Object
  extended by Neighbourhood.Key
All Implemented Interfaces:
Serializable
Enclosing class:
Neighbourhood

@ThreadSafe
static final class Neighbourhood.Key
extends Object
implements Serializable

A unique identifier for a particular neighbourhood.


Constructor Summary
Neighbourhood.Key(String path, boolean isLeaf)
          Constructs a Key.
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
(package private)  boolean isLeaf()
           
(package private)  String path()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Neighbourhood.Key

Neighbourhood.Key(String path,
                  boolean isLeaf)
Constructs a Key.

Parameters:
path - per path()
isLeaf - per isLeaf()
Method Detail

isLeaf

boolean isLeaf()
See Also:
Neighbourhood.isLeaf()

path

String path()
See Also:
Neighbourhood.path()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object