org.garret.heap
Class IdentitySelector

java.lang.Object
  extended byorg.garret.heap.IdentitySelector
All Implemented Interfaces:
Selector

public class IdentitySelector
extends java.lang.Object
implements Selector

Select particular instance of the object


Constructor Summary
IdentitySelector(java.lang.Object target)
           
 
Method Summary
 boolean select(java.lang.Object obj)
          Check if object matchs search criteria
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentitySelector

public IdentitySelector(java.lang.Object target)
Method Detail

select

public boolean select(java.lang.Object obj)
Description copied from interface: Selector
Check if object matchs search criteria

Specified by:
select in interface Selector
Parameters:
obj - tests objects
Returns:
true if object is selected, false otherwise