| Package | Description |
|---|---|
| com.github.underscore |
| Modifier and Type | Method and Description |
|---|---|
static <E> Supplier<E> |
U.after(int count,
Supplier<E> function) |
static <E> Supplier<E> |
U.before(int count,
Supplier<E> function) |
static <E> Supplier<E> |
U.constant(E value) |
static <T> Supplier<T> |
U.debounce(Supplier<T> function,
int delayMilliseconds) |
static <T> Supplier<T> |
U.once(Supplier<T> function) |
static <T> Supplier<T> |
U.throttle(Supplier<T> function,
int waitMilliseconds) |
| Modifier and Type | Method and Description |
|---|---|
static <E> Supplier<E> |
U.after(int count,
Supplier<E> function) |
static <E> Supplier<E> |
U.before(int count,
Supplier<E> function) |
static <T> Supplier<T> |
U.debounce(Supplier<T> function,
int delayMilliseconds) |
static <T> ScheduledFuture<T> |
U.defer(Supplier<T> function) |
static <T> ScheduledFuture<T> |
U.delay(Supplier<T> function,
int delayMilliseconds) |
static <T> Supplier<T> |
U.once(Supplier<T> function) |
<X extends Throwable> |
Optional.orThrow(Supplier<? extends X> exceptionFunction) |
static <T> ScheduledFuture |
U.setInterval(Supplier<T> function,
int delayMilliseconds) |
static <T> ScheduledFuture<T> |
U.setTimeout(Supplier<T> function,
int delayMilliseconds) |
static <T> Supplier<T> |
U.throttle(Supplier<T> function,
int waitMilliseconds) |
Copyright © 2020. All rights reserved.