public final class FakeMetadata
extends com.google.common.flogger.backend.Metadata
| Constructor and Description |
|---|
FakeMetadata() |
| Modifier and Type | Method and Description |
|---|---|
<T> FakeMetadata |
add(com.google.common.flogger.MetadataKey<T> key,
T value) |
<T> T |
findValue(com.google.common.flogger.MetadataKey<T> key) |
com.google.common.flogger.MetadataKey<?> |
getKey(int n) |
java.lang.Object |
getValue(int n) |
int |
size() |
public <T> FakeMetadata add(com.google.common.flogger.MetadataKey<T> key, T value)
public int size()
size in class com.google.common.flogger.backend.Metadatapublic com.google.common.flogger.MetadataKey<?> getKey(int n)
getKey in class com.google.common.flogger.backend.Metadatapublic java.lang.Object getValue(int n)
getValue in class com.google.common.flogger.backend.Metadata@Nullable public <T> T findValue(com.google.common.flogger.MetadataKey<T> key)
findValue in class com.google.common.flogger.backend.Metadata