Package org.robolectric.util
package org.robolectric.util
Package containing general utility classes.
-
ClassDescriptionConsumer<T>Represents an operation that accepts a single input argument and returns no result.Deprecated.Function<R,
T> Interface defining a function object.Utility class used to join strings together with a delimiter.Logger for Robolectric.Marker interface forInputStream
that need special handling.Collects performance statistics for later reporting viaPerfStatsReporter
.PerfStatsCollector.ThrowingRunnable<F extends Exception>Runnable that throws an exception.PerfStatsCollector.ThrowingSupplier<T,F extends Exception> Supplier that throws an exception.Collection of helper methods for calling methods and accessing fields reflectively.Typed parameter used with reflective method calls.Deprecated.Scheduler APIs only function when using LooperMode.LEGACY.Describes the current state of aScheduler
.SimpleFuture<T>Deprecated.This class can introduce deadlocks, since its lock is held while invoking run().Simple implementation of PerfStatsReporter that writes stats to stdout.Soft reference to ajava.lang.ThreadLocal
.A helper class for working with temporary directories.Utility methods for dealing with time.Generic collection of utility methods.
Robolectric.buildFragment(Class)
instead.