- All Implemented Interfaces:
- Comparator<org.calrissian.mango.domain.Attribute>
- Enclosing class:
- JsonAttributeStore
public static class JsonAttributeStore.FlattenedLevelsComparator
extends Object
implements Comparator<org.calrissian.mango.domain.Attribute>
This comparator is used to sort a list of attributes that represent flattened json so that raw json can
be reconstructed with array sort order already in tact. This helps optimize the creation of the
tree so that array objects can be added naturally, rather than performing excess copying of the array
each time an item needs to be inserted before another item in the array.