net.tomp2p.peers
Class Number480
java.lang.Object
java.lang.Number
net.tomp2p.peers.Number480
- All Implemented Interfaces:
- Serializable, Comparable<Number480>
public class Number480
- extends Number
- implements Comparable<Number480>
- See Also:
- Serialized Form
Number480
public Number480(Number160 locationKey,
Number160 domainKey,
Number160 contentKey)
Number480
public Number480(Number320 key,
Number160 contentKey)
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.