Package org.robolectric.util
Package containing general utility classes.
-
Interface Summary Interface Description Consumer<T> Represents an operation that accepts a single input argument and returns no result.NamedStream Marker interface forInputStreamthat need special handling.PerfStatsCollector.ThrowingRunnable<F extends Exception> Runnable that throws an exception.PerfStatsCollector.ThrowingSupplier<T,F extends Exception> Supplier that throws an exception. -
Class Summary Class Description Join Utility class used to join strings together with a delimiter.Logger Logger for Robolectric.PerfStatsCollector Collects performance statistics for later reporting viaPerfStatsReporter.Scheduler Class that manages a queue of Runnables that are scheduled to run now (or at some time in the future).SimpleFuture<T> Deprecated. This class can introduce deadlocks, since its lock is held while invoking run().SimplePerfStatsReporter Simple implementation of PerfStatsReporter that writes stats to stdout.SoftThreadLocal<T> Soft reference to ajava.lang.ThreadLocal.Strftime An implementation of the Unix strftime with some glibc extensions.TempDirectory TestRunnable TimeUtils Utility methods for dealing with time.Util Generic collection of utility methods. -
Enum Summary Enum Description Scheduler.IdleState Describes the current state of aScheduler.