public static enum VersionedTargetGraphCache.ResultType extends Enum<VersionedTargetGraphCache.ResultType>
Enum Constant and Description |
---|
EMPTY
A miss in the cache due to the cache being empty.
|
HIT
A hit in the cache.
|
MISMATCH
A miss in the cache due to the inputs changing.
|
Modifier and Type | Method and Description |
---|---|
static VersionedTargetGraphCache.ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersionedTargetGraphCache.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionedTargetGraphCache.ResultType MISMATCH
public static final VersionedTargetGraphCache.ResultType EMPTY
public static final VersionedTargetGraphCache.ResultType HIT
public static VersionedTargetGraphCache.ResultType[] values()
for (VersionedTargetGraphCache.ResultType c : VersionedTargetGraphCache.ResultType.values()) System.out.println(c);
public static VersionedTargetGraphCache.ResultType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null