org.omnaest.utils.structure.element.filter
Class ExcludingElementFilterConstant<E>

java.lang.Object
  extended by org.omnaest.utils.structure.element.filter.ExcludingElementFilter<E>
      extended by org.omnaest.utils.structure.element.filter.ExcludingElementFilterConstant<E>
Type Parameters:
E -
All Implemented Interfaces:
ElementFilter<E>

public class ExcludingElementFilterConstant<E>
extends ExcludingElementFilter<E>

ExcludingElementFilter which removes all given elements where the constructor element equals to.

Author:
Omnaest

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.omnaest.utils.structure.element.filter.ElementFilter
ElementFilter.FilterMode
 
Constructor Summary
ExcludingElementFilterConstant(E element)
           
 
Method Summary
 boolean filter(E element)
          The filter method should return true if the given element should be excluded
 
Methods inherited from class org.omnaest.utils.structure.element.filter.ExcludingElementFilter
getFilterMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcludingElementFilterConstant

public ExcludingElementFilterConstant(E element)
Parameters:
element - != null
Method Detail

filter

public boolean filter(E element)
Description copied from class: ExcludingElementFilter
The filter method should return true if the given element should be excluded

Specified by:
filter in interface ElementFilter<E>
Specified by:
filter in class ExcludingElementFilter<E>
Returns:
See Also:
ElementFilter.filter(Object)


Copyright © 2013. All Rights Reserved.