| Constructor and Description |
|---|
TimecodeComparator() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
between(Timecode test,
Timecode start,
Timecode end)
Returns true if
test is between start and end (inclusive) |
static int |
cmp(Timecode a,
Timecode b) |
int |
compare(Timecode a,
Timecode b) |
static boolean |
eq(Timecode a,
Timecode b) |
static boolean |
ge(Timecode a,
Timecode b) |
static TimecodeComparator |
getInstance() |
static boolean |
gt(Timecode a,
Timecode b) |
static boolean |
le(Timecode a,
Timecode b) |
static boolean |
lt(Timecode a,
Timecode b) |
static Timecode |
max(Timecode... timecodes)
Returns the larger of a number of timecodes
|
static Timecode |
min(Timecode... timecodes)
Returns the smaller of some timecodes
|
public static TimecodeComparator getInstance()
public int compare(Timecode a, Timecode b)
compare in interface java.util.Comparator<Timecode>public static boolean between(Timecode test, Timecode start, Timecode end)
test is between start and end (inclusive)test - start - end - public static Timecode max(Timecode... timecodes)
timecodes - some timecodesCopyright © 2014. All Rights Reserved.