public enum OptimizationTarget extends Enum<OptimizationTarget> implements PatternOption
Modifier and Type | Method and Description |
---|---|
static OptimizationTarget |
bestOf(PatternOption[] options) |
static OptimizationTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptimizationTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptimizationTarget MATCH
public static final OptimizationTarget SEARCH
public static OptimizationTarget[] values()
for (OptimizationTarget c : OptimizationTarget.values()) System.out.println(c);
public static OptimizationTarget 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 OptimizationTarget bestOf(PatternOption[] options)
Copyright © 2019. All rights reserved.