Class SpanLimit

    • Field Detail

      • start

        public final long start
      • end

        public final long end
      • value

        public final double value
      • limit

        public final double limit
    • Constructor Detail

      • SpanLimit

        public SpanLimit​(long start,
                         long end,
                         double mass,
                         double limit)
    • Method Detail

      • combineWith

        public SpanLimit combineWith​(SpanLimit other)
        Description copied from interface: Combinable
        Combine this object with another object if it is possible and return a combined object. This method may determine that it is not possible to combine the objects and return null in that case.
        Specified by:
        combineWith in interface Combinable<SpanLimit>
        Parameters:
        other - an object to combine this object with
        Returns:
        a combined object, or null if the objects shouldn't be combined