|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.base.ListFilter
blackboard.data.AvailabilityFilter
public class AvailabilityFilter
List Filter used to filter on the availability of an object. An object should
implement Available in order to properly be used with this filter.
Available| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class blackboard.base.ListFilter |
|---|
ListFilter.Comparison |
| Field Summary | |
|---|---|
static boolean |
AVAILABLE_ONLY
Can be provided to constructor as targetAvailability value |
static boolean |
NOT_AVAILABLE_ONLY
Can be provided to constructor as targetAvailability value |
| Fields inherited from class blackboard.base.ListFilter |
|---|
NOOP |
| Constructor Summary | |
|---|---|
AvailabilityFilter(boolean targetAvailability)
Constructs an availability filter than can be used to filter a list of objects based upon a provided availability value. |
|
| Method Summary | |
|---|---|
protected boolean |
passesFilter(java.lang.Object obj)
Implements passesFilter method of the ListFilter class. |
| Methods inherited from class blackboard.base.ListFilter |
|---|
addFilter, passesFilters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean AVAILABLE_ONLY
targetAvailability value
public static boolean NOT_AVAILABLE_ONLY
targetAvailability value
| Constructor Detail |
|---|
public AvailabilityFilter(boolean targetAvailability)
targetAvailability - determines the availability value used to determine
whether values pass the filter. Should be true if available items
should pass the filter, false if unavailable items should pass the
filter.| Method Detail |
|---|
protected boolean passesFilter(java.lang.Object obj)
passesFilter method of the ListFilter class.
passesFilter in class ListFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||