public enum PlacementStrategy extends Enum<PlacementStrategy>
| Enum Constant and Description |
|---|
PACK
Packs Bundles close together inside nodes as tight as possible.
|
SPREAD
Places Bundles across distinct nodes as even as possible.
|
STRICT_PACK
Packs Bundles into one node.
|
STRICT_SPREAD
Places Bundles across distinct nodes.
|
UNRECOGNIZED
Unrecognized strategy.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static PlacementStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlacementStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlacementStrategy PACK
public static final PlacementStrategy SPREAD
public static final PlacementStrategy STRICT_PACK
public static final PlacementStrategy STRICT_SPREAD
public static final PlacementStrategy UNRECOGNIZED
public static PlacementStrategy[] values()
for (PlacementStrategy c : PlacementStrategy.values()) System.out.println(c);
public static PlacementStrategy 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 int value()
Copyright © 2023. All rights reserved.