|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.thimbleware.jmemcached.Key
public class Key
Represents a given key for lookup in the cache. Wraps a byte array with a precomputed hashCode.
| Field Summary | |
|---|---|
org.jboss.netty.buffer.ChannelBuffer |
bytes
|
| Constructor Summary | |
|---|---|
Key(org.jboss.netty.buffer.ChannelBuffer bytes)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public org.jboss.netty.buffer.ChannelBuffer bytes
| Constructor Detail |
|---|
public Key(org.jboss.netty.buffer.ChannelBuffer bytes)
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||