net.walend.lyophil.memory
Class MemClassDigger

java.lang.Object
  |
  +--net.walend.lyophil.memory.MemClassDigger
All Implemented Interfaces:
ClassDigger, Digger

public class MemClassDigger
extends java.lang.Object
implements ClassDigger

This ClassDigger works with the MemFreezer.

Since:
20010111
Author:
David Walend

Constructor Summary
MemClassDigger()
           
 
Method Summary
 int countByClass(java.lang.Class interf)
          Count the number of freezables that implement this interf.
 SetOfFreezables findByClass(java.lang.Class interf)
          Returns the Set of Freezables in the Freezer that can be cast to interf.
protected  MemStorage getStorage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemClassDigger

public MemClassDigger()
Method Detail

getStorage

protected MemStorage getStorage()

countByClass

public int countByClass(java.lang.Class interf)
Description copied from interface: ClassDigger
Count the number of freezables that implement this interf.

Specified by:
countByClass in interface ClassDigger

findByClass

public SetOfFreezables findByClass(java.lang.Class interf)
Description copied from interface: ClassDigger
Returns the Set of Freezables in the Freezer that can be cast to interf.

Specified by:
findByClass in interface ClassDigger


Copyright (c) 2000, 2001, David Walend