|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbp.eventSets.EventFilterForClass
public class EventFilterForClass
A filter for the set of all events of a given class.
Field Summary | |
---|---|
(package private) java.lang.Class<?> |
theClass
|
Constructor Summary | |
---|---|
EventFilterForClass(java.lang.Class<?> theClass)
Constructor. |
Method Summary | |
---|---|
boolean |
contains(java.lang.Object o)
A function that implements the filtering logic. |
boolean |
testFields(java.lang.Object o)
Tests whether the fields of the object match the required definition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.lang.Class<?> theClass
Constructor Detail |
---|
public EventFilterForClass(java.lang.Class<?> theClass)
theClass
- The class of events matched by this filter.Method Detail |
---|
public boolean contains(java.lang.Object o)
EventFilterInterface
contains
in interface EventFilterInterface
o
- A candidate object to be tested for matching the criteria of
the filter.
EventFilterInterface.contains(java.lang.Object)
public boolean testFields(java.lang.Object o)
o
- Object to test (always of the expected class).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |