|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cassandra.dht.Token<T>
public abstract class Token<T>
Nested Class Summary | |
---|---|
static class |
Token.TokenFactory<T>
|
static class |
Token.TokenSerializer
|
Constructor Summary | |
---|---|
protected |
Token(T token)
|
Method Summary | |
---|---|
abstract int |
compareTo(Token<T> o)
This determines the comparison for node destination purposes. |
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
static Token.TokenSerializer |
serializer()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Token(T token)
Method Detail |
---|
public static Token.TokenSerializer serializer()
public abstract int compareTo(Token<T> o)
compareTo
in interface java.lang.Comparable<Token<T>>
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |