dsto.dfc.databeans
Class UnionFilter<T>
java.lang.Object
dsto.dfc.databeans.UnionFilter<T>
- All Implemented Interfaces:
- IFilter<T>, Iterable<IFilter<T>>
public class UnionFilter<T>
- extends Object
- implements IFilter<T>, Iterable<IFilter<T>>
An IFilter that is a union of several sub filters. Includes items
if any sub filter matches.
- Author:
- Matthew Phillips
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnionFilter
public UnionFilter()
include
public boolean include(T value)
- Description copied from interface:
IFilter
- Return true if a given top-level value from source should be included.
- Specified by:
include
in interface IFilter<T>
add
public void add(IFilter<T> filter)
remove
public void remove(IFilter<T> filter)
clear
public void clear()
contains
public boolean contains(IFilter<T> filter)
iterator
public Iterator<IFilter<T>> iterator()
- Specified by:
iterator
in interface Iterable<IFilter<T>>
Copyright © 2008 Commonwealth of Australia