com.kuka.graph
Interface GraphElementFilter<E>

Type Parameters:
E - the type of the element

public interface GraphElementFilter<E>

Instances of classes that implement this interface are used to filter the node or edge set of a graph. These instances can be used in the Graph.nodes() and Graph.edges() method of class Graph.


Method Summary
 boolean accept(E element)
          Tests if a specified graph element (node or edge) should be included in a graph element list.
 

Method Detail

accept

boolean accept(E element)
Tests if a specified graph element (node or edge) should be included in a graph element list.

Parameters:
element - the element to test
Returns:
true if and only if the element should be included in the element list; false otherwise.


Copyright © 2019. All rights reserved.