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

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

public class ExcludingElementFilterNotNull<E>
extends ExcludingElementFilter<E>

ExcludingElementFilter which filters / removes all null elements

Author:
Omnaest

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.omnaest.utils.structure.element.filter.ElementFilter
ElementFilter.FilterMode
 
Constructor Summary
ExcludingElementFilterNotNull()
           
 
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

ExcludingElementFilterNotNull

public ExcludingElementFilterNotNull()
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.