netkit.graph
Interface NodeFilter


public interface NodeFilter

A filter for Nodes. Objects implementing this interface can be used to filter Nodes in or out from a collection.

Author:
Kaveh R. Ghazi
See Also:
Node

Method Summary
 boolean accept(Node node)
          Tests whether or not the specified Node should be included.
 

Method Detail

accept

boolean accept(Node node)
Tests whether or not the specified Node should be included.

Returns:
true if the Node should be included.