Class RingSizeComparator

    • Field Detail

      • LARGE_FIRST

        public static final int LARGE_FIRST
        Flag to denote that the set is order with the largest ring first
        See Also:
        Constant Field Values
      • SMALL_FIRST

        public static final int SMALL_FIRST
        Flag to denote that the set is order with the smallest ring first
        See Also:
        Constant Field Values
    • Constructor Detail

      • RingSizeComparator

        public RingSizeComparator​(int order)
        Constructs a new comparator to sort rings by size.
        Parameters:
        order - Sort order: either RingSet.SMALL_FIRST or RingSet.LARGE_FIRST.