Class JDialogLoadLeica.LeicaFileComparator

  • All Implemented Interfaces:
    java.util.Comparator<java.lang.String>
    Enclosing class:
    JDialogLoadLeica

    public class JDialogLoadLeica.LeicaFileComparator
    extends java.lang.Object
    implements java.util.Comparator<java.lang.String>
    DOCUMENT ME!
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int[] channelOrder
      DOCUMENT ME!
      private int[] grayIndices
      DOCUMENT ME!
      private java.lang.String seriesName
      DOCUMENT ME!
    • Constructor Summary

      Constructors 
      Constructor Description
      LeicaFileComparator​(int[] channelOrder, java.lang.String seriesName)
      Creates a new LeicaFileComparator object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(java.lang.String a, java.lang.String b)
      DOCUMENT ME!
      int[] getGrayIndices()
      DOCUMENT ME!
      • 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

      • channelOrder

        private final int[] channelOrder
        DOCUMENT ME!
      • grayIndices

        private int[] grayIndices
        DOCUMENT ME!
      • seriesName

        private final java.lang.String seriesName
        DOCUMENT ME!
    • Constructor Detail

      • LeicaFileComparator

        public LeicaFileComparator​(int[] channelOrder,
                                   java.lang.String seriesName)
        Creates a new LeicaFileComparator object.
        Parameters:
        channelOrder - DOCUMENT ME!
        seriesName - DOCUMENT ME!
    • Method Detail

      • compare

        public int compare​(java.lang.String a,
                           java.lang.String b)
        DOCUMENT ME!
        Specified by:
        compare in interface java.util.Comparator<java.lang.String>
        Parameters:
        a - DOCUMENT ME!
        b - DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getGrayIndices

        public int[] getGrayIndices()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!