java.lang.Object
org.klomp.snark.web.Sorters.FAISort
org.klomp.snark.web.Sorters.FAIRemainingComparator
All Implemented Interfaces:
Serializable, Comparator<Sorters.FileAndIndex>
Enclosing class:
Sorters

private static class Sorters.FAIRemainingComparatorextends Sorters.FAISort
Orders files by bytes left to download.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Fixed id, the comparator is never serialized across versions.
      See Also:
  • Constructor Details

    • FAIRemainingComparator

      public FAIRemainingComparator(boolean rev)
      Creates the file remaining-bytes comparator.
      Parameters:
      rev - true to reverse the order
  • Method Details