public interface Summary extends Map<String,SummaryEntry>
Modifier and Type | Method and Description |
---|---|
String |
displayEntry(StringBuffer sb,
SummaryEntry parentEntry)
Displays recursively on entry.
|
List<SummaryEntry> |
getChildren(SummaryEntry parentEntry) |
SummaryEntry |
getSummaryRoot()
Gets the root SummaryEntry in the map.
|
boolean |
hasChild(SummaryEntry parentEntry)
Tests if the given entry has at least one child in the map.
|
String |
toFlatList()
Display all the map in a flat way.
|
String |
toTreeString()
Displays all the map hierarchically.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
boolean hasChild(SummaryEntry parentEntry)
parentEntry
- is the entry to testList<SummaryEntry> getChildren(SummaryEntry parentEntry)
parentEntry
- is parent of children you want to getString displayEntry(StringBuffer sb, SummaryEntry parentEntry)
sb
- is the String to display.parentEntry
- is the entry to displayString toFlatList()
String toTreeString()
SummaryEntry getSummaryRoot()
Copyright © 2015 Nuxeo SA. All rights reserved.