Class PartialVAFile.WorstCaseDistComparator

  • All Implemented Interfaces:
    java.util.Comparator<DAFile>
    Enclosing class:
    PartialVAFile<V extends NumberVector>

    protected static class PartialVAFile.WorstCaseDistComparator
    extends java.lang.Object
    implements java.util.Comparator<DAFile>
    Compare DAfiles by their worst case distance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(DAFile a, DAFile b)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • WorstCaseDistComparator

        public WorstCaseDistComparator​(VALPNormDistance dist)
    • Method Detail

      • compare

        public int compare​(DAFile a,
                           DAFile b)
        Specified by:
        compare in interface java.util.Comparator<DAFile>