public final class NormativeOrders
extends java.lang.Object
For example, if the regions are a, aa, aaa, aab, aac, b, ba, bc, where aa implies that the second 'a' is a child of the first 'a', the sorted order must reflect the following properties (where regions on the left of < appear before in the sorted list):
In the case of "[aaa, aab, aac]," the relative order between these regions is unimportant as they all share the same parent (aaa). The following choices would be valid sorts:
These sorted lists are required for FlagValueCalculator and
some implementations of ApplicableRegionSet.
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<ProtectedRegion> |
fromSet(java.util.Set<ProtectedRegion> regions) |
static void |
sort(java.util.List<ProtectedRegion> regions) |
public static void sort(java.util.List<ProtectedRegion> regions)
public static java.util.List<ProtectedRegion> fromSet(java.util.Set<ProtectedRegion> regions)