|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectFilter
Specifies the behaviour of a filter to subset the objects being iterated by ObjectIterator. These filters are designed to be added to an ObjectIterator and they are called for each object. To simplify the semantics the filtering is designed to be order independent so that all the filters are called for each object and a final decision is reached on whether to accept or reject the object. For an object to be accepted at least one of the filters must accept it and none of them must reject it.
Method Summary | |
---|---|
boolean |
acceptObject(com.ibm.dtfj.java.JavaHeap heap,
com.ibm.dtfj.java.JavaObject obj)
Is this object to be accepted as a part of the set. |
boolean |
rejectObject(com.ibm.dtfj.java.JavaHeap heap,
com.ibm.dtfj.java.JavaObject obj)
Is this object to be rejected from the set. |
Method Detail |
---|
boolean acceptObject(com.ibm.dtfj.java.JavaHeap heap, com.ibm.dtfj.java.JavaObject obj)
heap
- the object heapobj
- the object itself
boolean rejectObject(com.ibm.dtfj.java.JavaHeap heap, com.ibm.dtfj.java.JavaObject obj)
heap
- the object heapobj
- the object itself
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |