Class TimeSegment<T>

java.lang.Object
com.djrapitops.plan.delivery.domain.TimeSegment<T>

public class TimeSegment<T> extends Object
  • Constructor Details

    • TimeSegment

      public TimeSegment(long start, long end, T value)
  • Method Details

    • earliestStartFirstComparator

      public static <V> Comparator<TimeSegment<V>> earliestStartFirstComparator()
    • earliestEndFirstComparator

      public static <V> Comparator<TimeSegment<V>> earliestEndFirstComparator()
    • getStart

      public long getStart()
    • getEnd

      public long getEnd()
    • getValue

      public T getValue()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object