public class GraphFilter extends Object
| Modifier and Type | Field and Description |
|---|---|
static GraphFilter |
INSTANCE |
| Constructor and Description |
|---|
GraphFilter() |
public static final GraphFilter INSTANCE
public boolean matches(Vertex vertex, Shape shape)
vertex - The vertex to be tested.shape - The shape to be matched against the vertexpublic List<Vertex> select(Graph source, Shape shape)
source - The graph from which vertices will be selectedshape - The shape that vertices must match.Copyright © 2016. All rights reserved.