com.threerings.nexus.distrib
Class Address.OfKeyed<T extends NexusObject & Keyed>

java.lang.Object
  extended by com.threerings.nexus.distrib.Address<T>
      extended by com.threerings.nexus.distrib.Address.OfKeyed<T>
All Implemented Interfaces:
Streamable
Enclosing class:
Address<T extends NexusObject>

public static class Address.OfKeyed<T extends NexusObject & Keyed>
extends Address<T>

An address of a keyed object.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.nexus.distrib.Address
Address.OfAnonymous, Address.OfKeyed<T extends NexusObject & Keyed>, Address.OfSingleton<T extends NexusObject & Singleton>
 
Nested classes/interfaces inherited from interface com.threerings.nexus.io.Streamable
Streamable.Input, Streamable.Output
 
Field Summary
 Comparable<?> key
          The key identifying our target object.
 
Fields inherited from class com.threerings.nexus.distrib.Address
host
 
Constructor Summary
Address.OfKeyed(String host, Class<T> clazz, Comparable<?> key)
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class com.threerings.nexus.distrib.Address
create, create, create, of
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public final Comparable<?> key
The key identifying our target object.

Constructor Detail

Address.OfKeyed

public Address.OfKeyed(String host,
                       Class<T> clazz,
                       Comparable<?> key)
Method Detail

toString

public String toString()

hashCode

public int hashCode()

equals

public boolean equals(Object other)


Copyright © 2013. All Rights Reserved.