public static enum TypeMatchingStrategy.MatchResult extends Enum<TypeMatchingStrategy.MatchResult>
TypeI instances.| Enum Constant and Description |
|---|
LOOSE_MATCH |
MATCH |
NO_MATCH |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLooseMatch() |
boolean |
isMatch() |
static TypeMatchingStrategy.MatchResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeMatchingStrategy.MatchResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeMatchingStrategy.MatchResult MATCH
public static final TypeMatchingStrategy.MatchResult NO_MATCH
public static final TypeMatchingStrategy.MatchResult LOOSE_MATCH
public static TypeMatchingStrategy.MatchResult[] values()
for (TypeMatchingStrategy.MatchResult c : TypeMatchingStrategy.MatchResult.values()) System.out.println(c);
public static TypeMatchingStrategy.MatchResult 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 boolean isMatch()
public boolean isLooseMatch()
Copyright © 2009-2017 Google. All Rights Reserved.