org.apache.cassandra.dht
Class Bounds
java.lang.Object
org.apache.cassandra.dht.AbstractBounds
org.apache.cassandra.dht.Bounds
- All Implemented Interfaces:
- java.io.Serializable
public class Bounds
- extends AbstractBounds
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Bounds
public Bounds(Token left,
Token right)
contains
public boolean contains(Token token)
- Specified by:
contains
in class AbstractBounds
createFrom
public AbstractBounds createFrom(Token token)
- Specified by:
createFrom
in class AbstractBounds
- Returns:
- A clone of this AbstractBounds with a new right Token, or null if an identical range would be created.
unwrap
public java.util.List<AbstractBounds> unwrap()
- Specified by:
unwrap
in class AbstractBounds
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in class AbstractBounds
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2011 The Apache Software Foundation