org.sonatype.gshell.util.filter
Class AndFilter<T>

java.lang.Object
  extended by org.sonatype.gshell.util.filter.AggregateFilter<T>
      extended by org.sonatype.gshell.util.filter.AndFilter<T>
All Implemented Interfaces:
Filter<T>

public class AndFilter<T>
extends AggregateFilter<T>

And filter.

Since:
2.5
Author:
Jason Dillon

Constructor Summary
AndFilter()
           
AndFilter(Filter<T>... filters)
           
 
Method Summary
 boolean accept(T value)
           
 
Methods inherited from class org.sonatype.gshell.util.filter.AggregateFilter
add, and, getFilters, not, or
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndFilter

public AndFilter()

AndFilter

public AndFilter(Filter<T>... filters)
Method Detail

accept

public boolean accept(T value)


Copyright © 2008-2011 Sonatype. All Rights Reserved.