net.tomp2p.peers
Class Number480

java.lang.Object
  extended by java.lang.Number
      extended by net.tomp2p.peers.Number480
All Implemented Interfaces:
Serializable, Comparable<Number480>

public class Number480
extends Number
implements Comparable<Number480>

See Also:
Serialized Form

Constructor Summary
Number480(Number160 locationKey, Number160 domainKey, Number160 contentKey)
           
Number480(Number320 key, Number160 contentKey)
           
 
Method Summary
 Number480 changeDomain(Number160 newDomain)
           
 int compareTo(Number480 o)
           
 double doubleValue()
           
 boolean equals(Object obj)
           
 float floatValue()
           
 Number160 getContentKey()
           
 Number160 getDomainKey()
           
 Number160 getLocationKey()
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Number480

public Number480(Number160 locationKey,
                 Number160 domainKey,
                 Number160 contentKey)

Number480

public Number480(Number320 key,
                 Number160 contentKey)
Method Detail

getLocationKey

public Number160 getLocationKey()

getDomainKey

public Number160 getDomainKey()

getContentKey

public Number160 getContentKey()

changeDomain

public Number480 changeDomain(Number160 newDomain)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

compareTo

public int compareTo(Number480 o)
Specified by:
compareTo in interface Comparable<Number480>

toString

public String toString()
Overrides:
toString in class Object

intValue

public int intValue()
Specified by:
intValue in class Number

longValue

public long longValue()
Specified by:
longValue in class Number

floatValue

public float floatValue()
Specified by:
floatValue in class Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class Number


Copyright © 2013. All Rights Reserved.