net.sourceforge.e4graph
Interface VertexFilter
- public interface VertexFilter
Vertex filters are objects that know how to "filter out" vertices.
A vertex filter can be passed to the vertices method of
the Node class an iteration only over a filtered subset
of vertices is desired.
- Author:
- Ryan Shaw
- See Also:
Node.vertices(VertexFilter)
,
Node.vertices(Vertex, VertexFilter)
Method Summary |
boolean |
accept(Vertex v)
Returns true if the filter accepts the given vertex; false otherwise. |
accept
public boolean accept(Vertex v)
- Returns true if the filter accepts the given vertex; false otherwise.
- Parameters:
v
- the vertex to test- Returns:
- true if the filter accepts the given vertex; false otherwise
Copyright (c) 2001, Silver Egg Technology Co., Ltd.