Top Description Fields Constructors Methods
com.google.common.util.concurrent

public final Class Runnables

extends Object
Class Inheritance
Annotations
@GwtCompatible
@ElementTypesAreNonnullByDefault
Imports
com.google.common.annotations.GwtCompatible

Static utility methods pertaining to the Runnable interface.
Since
16.0

Field Summary

Modifier and TypeField and Description
private static final Runnable

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Runnable
doNothing()

Returns a Runnable instance that does nothing when run.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EMPTY_RUNNABLEback to summary
private static final Runnable EMPTY_RUNNABLE

Constructor Detail

Runnablesback to summary
private Runnables()

Method Detail

doNothingback to summary
public static Runnable doNothing()

Returns a Runnable instance that does nothing when run.