Package org.apache.iceberg.types
Enum EdgeAlgorithm
- java.lang.Object
-
- java.lang.Enum<EdgeAlgorithm>
-
- org.apache.iceberg.types.EdgeAlgorithm
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EdgeAlgorithm>
public enum EdgeAlgorithm extends java.lang.Enum<EdgeAlgorithm>
The algorithm for interpolating edges.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EdgeAlgorithmfromName(java.lang.String algorithmName)java.lang.StringtoString()static EdgeAlgorithmvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EdgeAlgorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPHERICAL
public static final EdgeAlgorithm SPHERICAL
Edges are interpolated as geodesics on a sphere.
-
VINCENTY
public static final EdgeAlgorithm VINCENTY
-
THOMAS
public static final EdgeAlgorithm THOMAS
Thomas, Paul D. Spheroidal geodesics, reference systems, & local geometry. US Naval Oceanographic Office, 1970.
-
ANDOYER
public static final EdgeAlgorithm ANDOYER
Thomas, Paul D. Mathematical models for navigation systems. US Naval Oceanographic Office, 1965.
-
KARNEY
public static final EdgeAlgorithm KARNEY
-
-
Method Detail
-
values
public static EdgeAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EdgeAlgorithm c : EdgeAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EdgeAlgorithm valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
fromName
public static EdgeAlgorithm fromName(java.lang.String algorithmName)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<EdgeAlgorithm>
-
-