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

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

public class OrFilter<T>
extends AggregateFilter<T>

Or filter.

Since:
2.5
Author:
Jason Dillon

Constructor Summary
OrFilter()
           
OrFilter(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

OrFilter

public OrFilter()

OrFilter

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

accept

public boolean accept(T value)


Copyright © 2008-2011 Sonatype. All Rights Reserved.