Package org.gephi.filters.spi
Interface ElementFilter<K extends Element>
-
- Type Parameters:
K
- element class
- All Superinterfaces:
Filter
- All Known Subinterfaces:
EdgeFilter
,NodeFilter
public interface ElementFilter<K extends Element> extends Filter
Basic filters for elements (nodes or edges). For a given object the filter's role is to returntrue
if the element is kept orfalse
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.
- Author:
- Mathieu Bastian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
evaluate(Graph graph, K element)
void
finish()
boolean
init(Graph graph)
-
Methods inherited from interface org.gephi.filters.spi.Filter
getName, getProperties
-
-