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.String parameter used with reflective method calls.Class that manages a queue of Runnables that are scheduled to run now (or at some time in the future).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
.An implementation of the Unix strftime with some glibc extensions.Utility methods for dealing with time.Generic collection of utility methods.
Robolectric.buildFragment(Class)
instead.