@JsonIgnore public TreeMap<String, NamespaceBundleStats> getSortedBundleStats(ResourceType resType) { if (bundleStats == null) { return null; } NamespaceBundleStatsComparator nsc = new NamespaceBundleStatsComparator(bundleStats, resType); TreeMap<String, NamespaceBundleStats> sortedBundleStats = Maps.newTreeMap(nsc); sortedBundleStats.putAll(bundleStats); return sortedBundleStats; }
@JsonIgnore public TreeMap<String, NamespaceBundleStats> getSortedBundleStats(ResourceType resType) { if (bundleStats == null) { return null; } NamespaceBundleStatsComparator nsc = new NamespaceBundleStatsComparator(bundleStats, resType); TreeMap<String, NamespaceBundleStats> sortedBundleStats = Maps.newTreeMap(nsc); sortedBundleStats.putAll(bundleStats); return sortedBundleStats; }