@FunctionalInterface public interface TimedSupplier<T>
Modifier and Type | Method and Description |
---|---|
static <T> TimedSupplier<T> |
constant(T value) |
static <T> TimedSupplier<T> |
fromSupplier(Supplier<T> supplier) |
T |
get(long startTimeNanos,
long deadlineNanos) |
T get(long startTimeNanos, long deadlineNanos)
static <T> TimedSupplier<T> constant(T value)
static <T> TimedSupplier<T> fromSupplier(Supplier<T> supplier)
Copyright © 2018 SPF4J. All rights reserved.