public static enum AllocationParameters.AllocationMethod extends java.lang.Enum<AllocationParameters.AllocationMethod>
| Enum Constant and Description |
|---|
SHARE
Allocate the amount(s) proportionately to the basis values.
|
SPREAD
Allocate the amount(s) evenly.
|
| Modifier and Type | Method and Description |
|---|---|
static AllocationParameters.AllocationMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AllocationParameters.AllocationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllocationParameters.AllocationMethod SHARE
public static final AllocationParameters.AllocationMethod SPREAD
public static AllocationParameters.AllocationMethod 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.AllocationMethod[] values()
for (AllocationParameters.AllocationMethod c : AllocationParameters.AllocationMethod.values()) System.out.println(c);
Copyright © 2017, 2025, Oracle and/or its affiliates. All rights reserved.