toggle menu
moonlight
1.0-SNAPSHOT
jvm
switch theme
search in API
engine
/
io.github.moonlightsuite.moonlight.offline.signal
/
Segment
Segment
public
class
Segment
<
T
>
implements
Sample
<
T
,
V
>
Author
loreti
Members
Constructors
Segment
Link copied to clipboard
public
void
Segment
(
double time
,
T
value
)
Properties
next
Link copied to clipboard
public
Segment
<
T
>
next
previous
Link copied to clipboard
public
Segment
<
T
>
previous
value
Link copied to clipboard
public
T
value
Functions
add
After
Link copied to clipboard
public
Segment
<
T
>
addAfter
(
double time
,
T
value
)
add
Before
Link copied to clipboard
public
Segment
<
T
>
addBefore
(
double time
,
T
value
)
backward
To
Link copied to clipboard
public
static
Segment
<
T
>
backwardTo
<
T
>
(
Segment
<
T
>
segment
,
double t
)
compare
To
Link copied to clipboard
public
int
compareTo
(
Sample
<
T
,
V
>
other
)
public
abstract
int
compareTo
(
T
p
)
contains
Link copied to clipboard
public
boolean
contains
(
double t
)
do
End
At
Link copied to clipboard
public
boolean
doEndAt
(
double t
)
end
At
Link copied to clipboard
public
void
endAt
(
double end
)
forward
To
Link copied to clipboard
public
static
Segment
<
T
>
forwardTo
<
T
>
(
Segment
<
T
>
segment
,
double t
)
get
End
Link copied to clipboard
public
Double
getEnd
(
)
get
Next
Link copied to clipboard
public
Segment
<
T
>
getNext
(
)
get
Previous
Link copied to clipboard
public
Segment
<
T
>
getPrevious
(
)
get
Previous
Time
Link copied to clipboard
public
double
getPreviousTime
(
)
get
Segment
End
Link copied to clipboard
public
double
getSegmentEnd
(
)
get
Start
Link copied to clipboard
public
Double
getStart
(
)
get
Time
Link copied to clipboard
public
static
double
getTime
<
T
>
(
Segment
<
T
>
s
)
get
Value
Link copied to clipboard
public
abstract
V
getValue
(
)
public
T
getValue
(
)
get
Value
At
Link copied to clipboard
public
T
getValueAt
(
double t
)
is
APoint
Link copied to clipboard
public
boolean
isAPoint
(
)
is
Right
Closed
Link copied to clipboard
public
boolean
isRightClosed
(
)
is
The
End
Link copied to clipboard
public
boolean
isTheEnd
(
double time
)
jump
Link copied to clipboard
public
Segment
<
T
>
jump
(
double t
)
next
Time
After
Link copied to clipboard
public
double
nextTimeAfter
(
double time
)
set
First
Link copied to clipboard
public
void
setFirst
(
)
set
Next
Link copied to clipboard
public
void
setNext
(
Segment
<
T
>
next
)
split
At
Link copied to clipboard
public
Segment
<
T
>
splitAt
(
double time
)
to
String
Link copied to clipboard
public
String
toString
(
)