small dumpview enhancement

This commit is contained in:
honfika
2014-07-13 12:45:56 +02:00
parent 5ea0368a11
commit ae74347f36
2 changed files with 6 additions and 2 deletions
@@ -62,6 +62,10 @@ public class DumpInfo {
this.lengthBits = lengthBits;
}
public int getChildCount() {
return childInfos == null ? 0 : childInfos.size();
}
public List<DumpInfo> getChildInfos() {
if (childInfos == null) {
childInfos = new ArrayList<>();