org.omnaest.utils.structure.element.filter
Class ElementFilterNotBlank

java.lang.Object
  extended by org.omnaest.utils.structure.element.filter.ExcludingElementFilter<String>
      extended by org.omnaest.utils.structure.element.filter.ElementFilterNotBlank
All Implemented Interfaces:
ElementFilter<String>

public class ElementFilterNotBlank
extends ExcludingElementFilter<String>

ExcludingElementFilter which filters / removes all blank elements. This ExcludingElementFilter can only be applied to elements of type String

Author:
Omnaest

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

ElementFilterNotBlank

public ElementFilterNotBlank()
Method Detail

filter

public boolean filter(String 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<String>
Specified by:
filter in class ExcludingElementFilter<String>
Returns:
See Also:
ElementFilter.filter(Object)


Copyright © 2013. All Rights Reserved.