com.google.maps.model

Enum Unit

  • java.lang.Object
    • java.lang.Enum<Unit>
      • com.google.maps.model.Unit
  • All Implemented Interfaces:
    com.google.maps.internal.StringJoin.UrlValue, java.io.Serializable, java.lang.Comparable<Unit>


    public enum Unitextends java.lang.Enum<Unit>implements com.google.maps.internal.StringJoin.UrlValue
    Units of measurement.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      IMPERIAL 
      METRIC 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringtoString() 
      java.lang.StringtoUrlValue() 
      static UnitvalueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Unit[]values()
      Returns an array containing the constants of this enum type, inthe order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • METRIC

        public static final Unit METRIC
      • IMPERIAL

        public static final Unit IMPERIAL
    • Method Detail

      • values

        public static Unit[] values()
        Returns an array containing the constants of this enum type, inthe order they are declared. This method may be used to iterateover the constants as follows:
        for (Unit c : Unit.values())    System.out.println(c);
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Unit 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 anenum 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 name
        java.lang.NullPointerException - if the argument is null
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<Unit>
      • toUrlValue

        public java.lang.String toUrlValue()
        Specified by:
        toUrlValue in interface com.google.maps.internal.StringJoin.UrlValue


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14