Class VoltageClusterer.MapValueArrayComparator

  • All Implemented Interfaces:
    java.util.Comparator<V>
    Enclosing class:
    VoltageClusterer<V,​E>

    protected class VoltageClusterer.MapValueArrayComparator
    extends java.lang.Object
    implements java.util.Comparator<V>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<V,​double[]> map  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected MapValueArrayComparator​(java.util.Map<V,​double[]> map)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(V o1, V o2)  
      • 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
    • Field Detail

      • map

        private java.util.Map<V,​double[]> map
    • Constructor Detail

      • MapValueArrayComparator

        protected MapValueArrayComparator​(java.util.Map<V,​double[]> map)
    • Method Detail

      • compare

        public int compare​(V o1,
                           V o2)
        Specified by:
        compare in interface java.util.Comparator<V>