public static enum AllocationParameters.NegativeBasisOption extends java.lang.Enum<AllocationParameters.NegativeBasisOption>
Enum Constant and Description |
---|
ABORT
Cancel the allocation.
|
ABS
Use absolute value.
|
DEFAULT
Default behavior.
|
MISSING
Treat it as #missing.
|
NEXT_AMOUNT
Skip to next amount value.
|
ZERO
Treat it as a zero when allocation method is
SPREAD.
|
Modifier and Type | Method and Description |
---|---|
long |
getValue()
value of the object.
|
static AllocationParameters.NegativeBasisOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AllocationParameters.NegativeBasisOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllocationParameters.NegativeBasisOption ABORT
public static final AllocationParameters.NegativeBasisOption ABS
public static final AllocationParameters.NegativeBasisOption DEFAULT
public static final AllocationParameters.NegativeBasisOption MISSING
public static final AllocationParameters.NegativeBasisOption NEXT_AMOUNT
public static final AllocationParameters.NegativeBasisOption ZERO
public long getValue()
public static AllocationParameters.NegativeBasisOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AllocationParameters.NegativeBasisOption[] values()
for (AllocationParameters.NegativeBasisOption c : AllocationParameters.NegativeBasisOption.values()) System.out.println(c);
Copyright © 2017, 2024, Oracle and/or its affiliates. All rights reserved.