public enum ResetPolicy extends Enum<ResetPolicy>
| Enum Constant and Description |
|---|
BLOCK_LEFT
This policy means - once end of MemoryWorkspace block reached its end - it'll be reset to the beginning.
|
ENDOFBUFFER_REACHED
This policy means - this Workspace instance will be acting as
circular buffer, so it'll be reset only after
end of workspace buffer is reached.
|
| Modifier and Type | Method and Description |
|---|---|
static ResetPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResetPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResetPolicy BLOCK_LEFT
public static final ResetPolicy ENDOFBUFFER_REACHED
public static ResetPolicy[] values()
for (ResetPolicy c : ResetPolicy.values()) System.out.println(c);
public static ResetPolicy 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.