public static final class Context.Key<T>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
T |
get()
Get the value from the
Context.current() context for this key. |
T |
get(Context context)
Get the value from the specified context for this key.
|
java.lang.String |
toString() |
public T get()
Context.current()
context for this key.public java.lang.String toString()
toString
in class java.lang.Object