public class LayerBreakdownVisitor extends BFTreeVisitor<IItem>
| Modifier and Type | Class and Description |
|---|---|
static class |
LayerBreakdownVisitor.LayerBreakdown |
static class |
LayerBreakdownVisitor.LayerEntry |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<LayerBreakdownVisitor.LayerBreakdown> |
BREAKDOWN_COMPARATOR |
| Constructor and Description |
|---|
LayerBreakdownVisitor() |
| Modifier and Type | Method and Description |
|---|---|
List<LayerBreakdownVisitor.LayerBreakdown> |
getLayers() |
protected void |
processPayload(IItem value,
int level)
Override in subclasses to act on the values in breadth first order.
|
visitpublic static final Comparator<LayerBreakdownVisitor.LayerBreakdown> BREAKDOWN_COMPARATOR
protected void processPayload(IItem value, int level)
BFTreeVisitorprocessPayload in class BFTreeVisitor<IItem>value - the payload.level - the tree level.public List<LayerBreakdownVisitor.LayerBreakdown> getLayers()
Copyright © 2020. All rights reserved.