public enum StorageStrategy extends Enum<StorageStrategy>
| Modifier and Type | Method and Description |
|---|---|
Reference<ISpectrum> |
getRef(ISpectrum spec) |
static StorageStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageStrategy STRONG
public static final StorageStrategy SOFT
public static final StorageStrategy WEAK
public static StorageStrategy[] values()
for (StorageStrategy c : StorageStrategy.values()) System.out.println(c);
public static StorageStrategy 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 © 2017. All rights reserved.