@Beta public final class TestTimeSource extends Object implements LongSupplier
Modifier and Type | Field and Description |
---|---|
static gnu.trove.iterator.TLongIterator |
SYSTEM_NANO_TIME_STREAM |
Constructor and Description |
---|
TestTimeSource() |
Modifier and Type | Method and Description |
---|---|
static void |
clear() |
long |
getAsLong() |
static void |
setTimeStream(long... times) |
static void |
setTimeStream(gnu.trove.iterator.TLongIterator stream) |
public static final gnu.trove.iterator.TLongIterator SYSTEM_NANO_TIME_STREAM
public static void clear()
public static void setTimeStream(gnu.trove.iterator.TLongIterator stream)
public static void setTimeStream(long... times)
@Nonnull public long getAsLong()
getAsLong
in interface LongSupplier
Copyright © 2018 SPF4J. All rights reserved.