org.garret.heap
Class NotSelector

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

public class NotSelector
extends java.lang.Object
implements Selector

Invert selection criteria


Constructor Summary
NotSelector(Selector selector)
           
 
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

NotSelector

public NotSelector(Selector selector)
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