Class ChainRemainingTimeComparator


  • public class ChainRemainingTimeComparator
    extends Object
    • Method Detail

      • compareTo

        public int compareTo​(@NotNull
                             BuildDependencyGraph anotherChain)
        Returns -1 if original chain has smaller remaining time and 1 otherwise. Compares estimates in the same nodes as in original chain, i.e. if anotherChain is bigger, only part intersecting with original chain is considered.
        Parameters:
        anotherChain -
        Returns: