public enum BuiltInPartitionFunctions extends Enum<BuiltInPartitionFunctions>
Enum Constant and Description |
---|
BinPackingPartition |
BinPackingPartition1 |
Modifier and Type | Method and Description |
---|---|
static PartitionFunction |
getFunction(String functionName)
Get a built-in partition function instance from a function name;
|
static BuiltInPartitionFunctions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuiltInPartitionFunctions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuiltInPartitionFunctions BinPackingPartition
public static final BuiltInPartitionFunctions BinPackingPartition1
public final String className
public static BuiltInPartitionFunctions[] values()
for (BuiltInPartitionFunctions c : BuiltInPartitionFunctions.values()) System.out.println(c);
public static BuiltInPartitionFunctions 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 static PartitionFunction getFunction(String functionName) throws ClassInstantiationException
functionName
- ClassInstantiationException
Copyright © 2016 iNetria. All rights reserved.