net.walend.lyophil.memory
Class MemTypableKeyDigger
java.lang.Object
|
+--net.walend.lyophil.memory.MemTypableKeyDigger
- All Implemented Interfaces:
- Digger, TypableKeyDigger
- public class MemTypableKeyDigger
- extends java.lang.Object
- implements TypableKeyDigger
This TypableKeyDigger works with the MemFreezer.
- Since:
- 20010405
- Author:
- David Walend
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemTypableKeyDigger
public MemTypableKeyDigger()
getStorage
protected MemStorage getStorage()
findIDForTypableKey
public java.io.Serializable findIDForTypableKey(java.lang.String key)
throws NotInFreezerException
- Description copied from interface:
TypableKeyDigger
- Returns the id of the Freezable that has the typable key
- Specified by:
findIDForTypableKey
in interface TypableKeyDigger
findByTypableKey
public HasTypableKey findByTypableKey(java.lang.String key)
throws NotInFreezerException
- Description copied from interface:
TypableKeyDigger
- Returns the Freezable that has the typable key
- Specified by:
findByTypableKey
in interface TypableKeyDigger
containsTypableKey
public boolean containsTypableKey(java.lang.String key)
- Description copied from interface:
TypableKeyDigger
- Returns true if the typable key is in use already.
- Specified by:
containsTypableKey
in interface TypableKeyDigger
Copyright (c) 2000, 2001, David Walend