Package io.deephaven.base
package io.deephaven.base
-
ClassDescriptionCopyable<T>This interface is a slightly weaker version of java.io.Externalizable, in that it only allows the use of the DataInput and -Output interfaces for reading and writing, not ObjectInput and -Output.Factory<T>Factory.Unary<T,
A> A generic interface for signaling a fatal error fatal errors.A Java implementation of the algorithm described in: Philippas Tsigas, Yi Zhang, "A simple, fast and scalable non-blocking concurrent FIFO queue for shared memory multiprocessor systems", Proceedings of the thirteenth annual ACM symposium on Parallel algorithms and architectures, p.134-143, July 2001, Crete Island, Greece This version modifies the way we choose which NULL to use when dequeuing: 1) We let the head and tail pointers range over the entire set of 32-bit unsigned values.A very simpleMap
for small maps with Integer keys (uses direct array access) that creates no garbage (except when expanding).This is a special version ofArrayList
that can be substituted for a regular Array list but produces no garbage.A very simpleSet
for small sets (uses linear time algorithms) that creates no garbage (except when expanding).A handful of simple mathematical utilities.Pair<A,B> A Simple generic pair.Predicate.Binary<A1,A2> Predicate.Ternary<A1,A2, A3> RAPriQueue<T>A "random-access" priority queue.the queue adapterReference<T>Encapsulates an object reference so it can be passed and modified.RingBuffer<E>A trivial circular buffer, like java.util.concurrent.ArrayBlockingQueue but without all the synchronization and collection cruft.This interface specifies a safe clone operation that never throws a CloneNotSupported exception, and also allows a bound to be placed on the result object's type.A helper for manging a list of WeakReferences.