public static enum LCQuery.CachePolicy extends Enum<LCQuery.CachePolicy>
Enum Constant and Description |
---|
CACHE_ELSE_NETWORK |
CACHE_ONLY |
CACHE_THEN_NETWORK |
IGNORE_CACHE |
NETWORK_ELSE_CACHE |
NETWORK_ONLY |
Modifier and Type | Method and Description |
---|---|
static LCQuery.CachePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LCQuery.CachePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LCQuery.CachePolicy CACHE_ELSE_NETWORK
public static final LCQuery.CachePolicy CACHE_ONLY
public static final LCQuery.CachePolicy CACHE_THEN_NETWORK
public static final LCQuery.CachePolicy IGNORE_CACHE
public static final LCQuery.CachePolicy NETWORK_ELSE_CACHE
public static final LCQuery.CachePolicy NETWORK_ONLY
public static LCQuery.CachePolicy[] values()
for (LCQuery.CachePolicy c : LCQuery.CachePolicy.values()) System.out.println(c);
public static LCQuery.CachePolicy 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 nullCopyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.