| Interface | Description |
|---|---|
| IOSupplier<E> |
A supplier which can throw an IOexception.
|
| RunnableThrowsException |
A
Runnable that can throw an exception. |
| SafeTimer |
This is a Timer that only accepts SafeTimerTasks as tasks.
|
| ThrowableSupplier<E> |
A supplier which can throw an exception.
|
| Class | Description |
|---|---|
| ConcurrencyUtils |
Static utilities for dealing with concurrency -- primarily, with
ensuring correctness.
|
| FunctionalUtils |
Utility functions for working with monads (e.g., Java's
Optional) or
creating monad-style operations. |
| IdentityHashSet<E> |
This class provides a
IdentityHashMap-backed
implementation of the Set interface. |
| Lazy<E> |
An instantiation of a lazy object.
|
| Pair<T1,T2> |
Pair is a Class for holding mutable pairs of objects.
|
| Pointer<T> |
A pointer to an object, to get around not being able to access non-final
variables within an anonymous function.
|
| SafeTimerMock |
This holds all of our timer tasks in a mocked environment, so that when we run unit tests we can guarantee that
things are getting called.
|
| SafeTimerReal |
Created by keenon on 2/16/18.
|
| SafeTimerTask |
All TimerTask objects crash their parent thread when they throw an exception, so we wrap timers in SafeTimerTask
objects, which don't.
|
| Span |
A span, inclusive of
Span.begin and exclusive of Span.end. |
| StackTrace |
A stack trace, with the appropriate formatting and
Object.equals(Object) and Object.hashCode()
defined so that we can, e.g., store them in a set. |
| StringUtils | |
| SystemUtils | |
| TimerUtils |
Utilities for working with time.
|
| Uninterruptably |
Created by keenon on 11/27/16.
|
| ZipUtils |
Some utilities with working with GZip streams
|
| Exception | Description |
|---|---|
| RuntimeInterruptedException |
An unchecked version of
InterruptedException. |
| RuntimeIOException |
An unchecked version of
IOException. |