org.springframework.data.keyvalue.riak.core
Class SimpleBucketKeyPair<B,K>
java.lang.Object
org.springframework.data.keyvalue.riak.core.SimpleBucketKeyPair<B,K>
- All Implemented Interfaces:
- Comparable, BucketKeyPair
public class SimpleBucketKeyPair<B,K>
- extends Object
- implements BucketKeyPair, Comparable
- Author:
- J. Brisbin
SimpleBucketKeyPair
public SimpleBucketKeyPair(B bucket,
K key)
getBucket
public B getBucket()
- Description copied from interface:
BucketKeyPair
- Get the bucket representation.
- Specified by:
getBucket
in interface BucketKeyPair
- Returns:
getKey
public K getKey()
- Description copied from interface:
BucketKeyPair
- Get the key representation.
- Specified by:
getKey
in interface BucketKeyPair
- Returns:
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010-2011 SpringSource. All Rights Reserved.