public enum DetalisationLevel extends Enum<DetalisationLevel>
Specifies the level of comparison details.
Enum Constant and Description |
---|
HIGH
High level.
|
LOW
Low level.
|
MIDDLE
Middle level.
|
Modifier and Type | Method and Description |
---|---|
static DetalisationLevel |
fromString(String toStringValue) |
String |
toString() |
static DetalisationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DetalisationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DetalisationLevel HIGH
High level. The best comparison quality, but the lowest speed. Comparison is performed per-character considering character case and spaces count.
public static final DetalisationLevel LOW
Low level. Provides the best speed comparison sacrificing comparison quality. Comparison is performed per-word.
public static final DetalisationLevel MIDDLE
Middle level. A reasonable compromise between comparison speed and quality. Comparison is performed per-character, but ignoring character case and spaces count.
public static DetalisationLevel fromString(String toStringValue)
public String toString()
toString
in class Enum<DetalisationLevel>
public static DetalisationLevel 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 DetalisationLevel[] values()
for (DetalisationLevel c : DetalisationLevel.values()) System.out.println(c);
Copyright © 2023. All rights reserved.