|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IElementFilter<E>
Filter for accepting or rejecting visited elements.
| Method Summary | |
|---|---|
boolean |
accept(E e)
True iff the argument is matched by the filter. |
boolean |
canAccept(Object o)
Return true iff this this filter can be used on the specified object (filter on the object class). |
| Method Detail |
|---|
boolean accept(E e)
e - An element.
boolean canAccept(Object o)
Note: This was added
by MikeP to filter out cases where the runtime type system was
throwing a ClassCastException in the accept(Object) implementation.
o -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||