Class CDSComparator

  • All Implemented Interfaces:
    java.util.Comparator<CDSSequence>

    public class CDSComparator
    extends java.lang.Object
    implements java.util.Comparator<CDSSequence>
    • Constructor Summary

      Constructors 
      Constructor Description
      CDSComparator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(CDSSequence o1, CDSSequence o2)
      Used to sort two CDSSequences where Negative Strand makes it tough
      • 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

      • CDSComparator

        public CDSComparator()
    • Method Detail

      • compare

        public int compare​(CDSSequence o1,
                           CDSSequence o2)
        Used to sort two CDSSequences where Negative Strand makes it tough
        Specified by:
        compare in interface java.util.Comparator<CDSSequence>
        Parameters:
        o1 -
        o2 -
        Returns:
        val