org.omnaest.utils.structure.element.filter
Class ExcludingElementFilterConstant<E>
java.lang.Object
org.omnaest.utils.structure.element.filter.ExcludingElementFilter<E>
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
|
Method Summary |
boolean |
filter(E element)
The filter method should return true if the given element should be excluded |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExcludingElementFilterConstant
public ExcludingElementFilterConstant(E element)
- Parameters:
element - != null
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.