public enum DistanceMatrixElementStatus extends Enum<DistanceMatrixElementStatus>
Enum Constant and Description |
---|
NOT_FOUND
The origin and/or destination of this pairing could not be geocoded.
|
OK
The response contains a valid result.
|
ZERO_RESULTS
No route could be found between the origin and destination.
|
Modifier and Type | Method and Description |
---|---|
static DistanceMatrixElementStatus |
fromValue(String type) |
String |
toString() |
String |
value() |
static DistanceMatrixElementStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistanceMatrixElementStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceMatrixElementStatus NOT_FOUND
public static final DistanceMatrixElementStatus OK
public static final DistanceMatrixElementStatus ZERO_RESULTS
public static DistanceMatrixElementStatus[] values()
for (DistanceMatrixElementStatus c : DistanceMatrixElementStatus.values()) System.out.println(c);
public static DistanceMatrixElementStatus 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 value()
public static DistanceMatrixElementStatus fromValue(String type)
public String toString()
toString
in class Enum<DistanceMatrixElementStatus>
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.