Interface | Description |
---|---|
PropertyDelegate<T> |
Simple interface encapsulating the implicit Kotlin contract for immutable property delegates.
|
VariablePropertyDelegate<T> |
Simple interface encapsulating the implicit Kotlin contract for mutable property delegates.
|
Class | Description |
---|---|
ByteArrays | |
ByteSequence |
An abstraction of a byte array, with offset and size that does no copying of bytes unless asked to.
|
EncodingUtils | |
Id<VALUE> |
Represents a unique, timestamped id.
|
KotlinUtilsKt | |
NetworkHostAndPort |
Tuple of host and port. Use
NetworkHostAndPort.parse on untrusted data. |
NonEmptySet<T> |
An immutable ordered non-empty set.
|
OpaqueBytes |
A simple class that wraps a byte array and makes the equals/hashCode/toString methods work as you actually expect.
In an ideal JVM this would be a value type and be completely overhead free. Project Valhalla is adding such
functionality to Java, but it won't arrive for a few years yet!
|
OpaqueBytesSubSequence |
Class is public for serialization purposes.
|
ProgressTracker |
A progress tracker helps surface information about the progress of an operation to a user interface or API of some
kind. It lets you define a set of steps that represent an operation. A step is represented by an object (typically
a singleton).
|
SgxSupport | |
ThreadDumpUtilsKt | |
Try<A> |
Representation of an operation that has either succeeded with a result (represented by
class Try.Success ) or failed with an
exception (represented by class Try.Failure ). |
UntrustworthyData<T> |
A small utility to approximate taint tracking: if a method gives you back one of these, it means the data came from
a remote source that may be incentivised to pass us junk that violates basic assumptions and thus must be checked
first. The wrapper helps you to avoid forgetting this vital step. Things you might want to check are:
|
UntrustworthyDataKt | |
UuidGenerator |