protected static enum JSType.MatchStatus extends Enum<JSType.MatchStatus>
| Enum Constant and Description |
|---|
MATCH
indicate that a function implicitly
implements an interface (i.e., the function
structurally complies with the protocol
defined in interface)
or a record type matches another record type
|
NOT_MATCH
indicate that a function does not implicitly
implements an interface (i.e., the function
does not structurally comply with the protocol
defined in interface)
or a record type does not match another
record type
|
PROCESSING
indicate that the interface and function
relationship is under processing
|
| Modifier and Type | Method and Description |
|---|---|
static JSType.MatchStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSType.MatchStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSType.MatchStatus MATCH
public static final JSType.MatchStatus NOT_MATCH
public static final JSType.MatchStatus PROCESSING
public static JSType.MatchStatus[] values()
for (JSType.MatchStatus c : JSType.MatchStatus.values()) System.out.println(c);
public static JSType.MatchStatus 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 nullCopyright © 2009-2015 Google. All Rights Reserved.