com.kuka.graph
Class GraphElementFilters

java.lang.Object
  extended by com.kuka.graph.GraphElementFilters

public final class GraphElementFilters
extends Object

A collection of default graph element filter implementations.


Method Summary
static
<E> GraphElementFilter<E>
acceptAll()
          Returns a graph element filter accepting any element.
static
<E> GraphElementFilter<E>
acceptAll(Collection<E> elements)
          Returns a graph element filter accepting any element contained in a collection of given elements.
static
<E> GraphElementFilter<E>
acceptAll(E... elements)
          Returns a graph element filter accepting any element contained in an array of given elements.
static
<E> GraphElementFilter<E>
acceptAllExcept(Collection<E> elements)
          Returns a graph element filter accepting any element except those contained in a collection of given elements.
static
<E> GraphElementFilter<E>
acceptAllExcept(E... elements)
          Returns a graph element filter accepting any element except those contained in an array of given elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

acceptAll

public static <E> GraphElementFilter<E> acceptAll()
Returns a graph element filter accepting any element.

Type Parameters:
E - the element type
Returns:
the graph element filter

acceptAll

public static <E> GraphElementFilter<E> acceptAll(E... elements)
Returns a graph element filter accepting any element contained in an array of given elements.

Type Parameters:
E - the element type
Parameters:
elements - the accepted elements
Returns:
the graph element filter

acceptAll

public static <E> GraphElementFilter<E> acceptAll(Collection<E> elements)
Returns a graph element filter accepting any element contained in a collection of given elements.

Type Parameters:
E - the element type
Parameters:
elements - the accepted elements
Returns:
the graph element filter

acceptAllExcept

public static <E> GraphElementFilter<E> acceptAllExcept(E... elements)
Returns a graph element filter accepting any element except those contained in an array of given elements.

Type Parameters:
E - the element type
Parameters:
elements - the not accepted elements
Returns:
the graph element filter

acceptAllExcept

public static <E> GraphElementFilter<E> acceptAllExcept(Collection<E> elements)
Returns a graph element filter accepting any element except those contained in a collection of given elements.

Type Parameters:
E - the element type
Parameters:
elements - the not accepted elements
Returns:
the graph element filter


Copyright © 2019. All rights reserved.