de.uplanet.util.filter
Class ConjunctionFilter<T>

java.lang.Object
  extended by de.uplanet.util.filter.ConjunctionFilter<T>
All Implemented Interfaces:
IFilter<T>

@Scriptable
public final class ConjunctionFilter<T>
extends java.lang.Object
implements IFilter<T>

Version:
$Revision: 55001 $

Constructor Summary
ConjunctionFilter()
           
 
Method Summary
 boolean accept(T p_obj)
           
 void addFilter(IFilter<T> p_filter)
          Add a filter to this conjunction filter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConjunctionFilter

public ConjunctionFilter()
Method Detail

addFilter

public void addFilter(IFilter<T> p_filter)
Add a filter to this conjunction filter.

Parameters:
p_filter - The filter to be added.

accept

public boolean accept(T p_obj)
Specified by:
accept in interface IFilter<T>
Parameters:
p_obj - The object to be filtered.
Returns:
true if all contained filters accept the given object, or false otherwise.


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.