K - element classpublic interface ElementFilter<K extends org.gephi.graph.api.Element> extends Filter
true if the element is kept or
false if it is removed.
This filter is useful for dealing with attributes, which can either be in nodes or edges. As a filter can't be for nodes and edges at the same time the filter has to specify K.
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(org.gephi.graph.api.Graph graph,
K element) |
void |
finish() |
boolean |
init(org.gephi.graph.api.Graph graph) |
getName, getPropertiesboolean init(org.gephi.graph.api.Graph graph)
boolean evaluate(org.gephi.graph.api.Graph graph,
K element)
void finish()
Copyright © 2007–2017. All rights reserved.