Package de.obqo.decycle.slicer
Interface Categorizer
-
- All Known Implementing Classes:
MultiCategorizer,NamedPatternMatchingCategorizer,PackageCategorizer,ParallelCategorizer,PatternMatchingCategorizer
public interface Categorizer extends java.util.function.Function<Node,java.util.Set<Node>>
A categorizer is a function that determines a set of categories for a givenNode. Each category is again aNode, however usually with a different node type (Node.getType()) than the original node.
-
-
Field Summary
Fields Modifier and Type Field Description static CategorizerEMPTYConvenience constant for aCategorizerthat never returns any categoriesstatic java.util.Set<Node>NONEConvenience constant to be used if aCategorizerdoesn't return any categories for a node.
-
-
-
Field Detail
-
NONE
static final java.util.Set<Node> NONE
Convenience constant to be used if aCategorizerdoesn't return any categories for a node.
-
EMPTY
static final Categorizer EMPTY
Convenience constant for aCategorizerthat never returns any categories
-
-