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 returntrueif the element is kept orfalseif 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 booleanevaluate(Graph graph, K element)voidfinish()booleaninit(Graph graph)-
Methods inherited from interface org.gephi.filters.spi.Filter
getName, getProperties
-
-