org.fusesource.restygwt.client.cache
Class SimpleCacheKey

java.lang.Object
  extended by org.fusesource.restygwt.client.cache.SimpleCacheKey
All Implemented Interfaces:
CacheKey
Direct Known Subclasses:
ComplexCacheKey, UrlCacheKey

public class SimpleCacheKey
extends Object
implements CacheKey

just a string implementation of a cachekey

Author:
abalke

Constructor Summary
SimpleCacheKey(String identifier)
           
 
Method Summary
 boolean equals(Object anObject)
          Needed for saving in HashMap:
 int hashCode()
          Needed for saving in HashMap:
 String toString()
          string representation and effectively the cache identifier
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleCacheKey

public SimpleCacheKey(String identifier)
Method Detail

hashCode

public int hashCode()
Description copied from interface: CacheKey
Needed for saving in HashMap:

Specified by:
hashCode in interface CacheKey
Overrides:
hashCode in class Object

equals

public boolean equals(Object anObject)
Description copied from interface: CacheKey
Needed for saving in HashMap:

Specified by:
equals in interface CacheKey
Overrides:
equals in class Object

toString

public String toString()
Description copied from interface: CacheKey
string representation and effectively the cache identifier

Specified by:
toString in interface CacheKey
Overrides:
toString in class Object


Copyright © 2010-2011 FuseSource, Corp.. All Rights Reserved.