net.vvakame.blaz
Class Key
java.lang.Object
net.vvakame.blaz.Key
- All Implemented Interfaces:
- Serializable, Comparable<Key>
public class Key
- extends Object
- implements Serializable, Comparable<Key>
KVS の Key
- Author:
- vvakame
- See Also:
- Serialized Form
|
Constructor Summary |
Key()
|
Key
public Key()
getKind
public String getKind()
- Returns:
- the kind
setKind
public void setKind(String kind)
- Parameters:
kind - the kind to set
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name - the name to set
getId
public long getId()
- Returns:
- the id
setId
public void setId(long id)
- Parameters:
id - the id to set
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
compareTo
public int compareTo(Key other)
- Specified by:
compareTo in interface Comparable<Key>
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.