public enum MatchMode extends Enum<MatchMode>
Enum Constant and Description |
---|
CONTAINS |
ENDS_WITH |
EQUALS |
EXACT |
GLOBAL |
GREATER_THAN |
GREATER_THAN_EQUALS |
IN |
LESS_THAN |
LESS_THAN_EQUALS |
STARTS_WITH |
Modifier and Type | Method and Description |
---|---|
static MatchMode |
byName(String name) |
String |
getName() |
static MatchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchMode STARTS_WITH
public static final MatchMode ENDS_WITH
public static final MatchMode CONTAINS
public static final MatchMode EXACT
public static final MatchMode LESS_THAN
public static final MatchMode LESS_THAN_EQUALS
public static final MatchMode GREATER_THAN
public static final MatchMode GREATER_THAN_EQUALS
public static final MatchMode EQUALS
public static final MatchMode IN
public static final MatchMode GLOBAL
public static MatchMode[] values()
for (MatchMode c : MatchMode.values()) System.out.println(c);
public static MatchMode 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 String getName()
Copyright © 2020. All rights reserved.