Segment

public class Segment<T> implements Sample<T, V>

Author

loreti

Constructors

Link copied to clipboard
public void Segment(double time, T value)

Properties

Link copied to clipboard
public Segment<T> next
Link copied to clipboard
public Segment<T> previous
Link copied to clipboard
public T value

Functions

Link copied to clipboard
public Segment<T> addAfter(double time, T value)
Link copied to clipboard
public Segment<T> addBefore(double time, T value)
Link copied to clipboard
public static Segment<T> backwardTo<T>(Segment<T> segment, double t)
Link copied to clipboard
public int compareTo(Sample<T, V> other)
public abstract int compareTo(T p)
Link copied to clipboard
public boolean contains(double t)
Link copied to clipboard
public boolean doEndAt(double t)
Link copied to clipboard
public void endAt(double end)
Link copied to clipboard
public static Segment<T> forwardTo<T>(Segment<T> segment, double t)
Link copied to clipboard
public Double getEnd()
Link copied to clipboard
public Segment<T> getNext()
Link copied to clipboard
public Segment<T> getPrevious()
Link copied to clipboard
public double getPreviousTime()
Link copied to clipboard
public double getSegmentEnd()
Link copied to clipboard
public Double getStart()
Link copied to clipboard
public static double getTime<T>(Segment<T> s)
Link copied to clipboard
public abstract V getValue()
public T getValue()
Link copied to clipboard
public T getValueAt(double t)
Link copied to clipboard
public boolean isAPoint()
Link copied to clipboard
public boolean isRightClosed()
Link copied to clipboard
public boolean isTheEnd(double time)
Link copied to clipboard
public Segment<T> jump(double t)
Link copied to clipboard
public double nextTimeAfter(double time)
Link copied to clipboard
public void setFirst()
Link copied to clipboard
public void setNext(Segment<T> next)
Link copied to clipboard
public Segment<T> splitAt(double time)
Link copied to clipboard
public String toString()