public static enum CLDevice.GlobalMemCacheType extends Enum<CLDevice.GlobalMemCacheType> implements ValuedEnum
| Enum Constant and Description |
|---|
None |
ReadOnlyCache |
ReadWriteCache |
| Modifier and Type | Method and Description |
|---|---|
static CLDevice.GlobalMemCacheType |
getEnum(long v) |
long |
value() |
static CLDevice.GlobalMemCacheType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLDevice.GlobalMemCacheType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLDevice.GlobalMemCacheType None
public static final CLDevice.GlobalMemCacheType ReadOnlyCache
public static final CLDevice.GlobalMemCacheType ReadWriteCache
public static CLDevice.GlobalMemCacheType[] values()
for (CLDevice.GlobalMemCacheType c : CLDevice.GlobalMemCacheType.values()) System.out.println(c);
public static CLDevice.GlobalMemCacheType 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 nullpublic long value()
value in interface ValuedEnumpublic static CLDevice.GlobalMemCacheType getEnum(long v)
Copyright © 2009-2015. All Rights Reserved.