Class/Object

com.salesforce.op.features.types

Geolocation

Related Docs: object Geolocation | package types

Permalink

class Geolocation extends OPList[Double] with Location

Represented as a list of latitude, longitude, accuracy The value is only populated if all are present, otherwise IllegalArgumentException is thrown.

Linear Supertypes
Location, OPList[Double], OPCollection, FeatureType, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Geolocation
  2. Location
  3. OPList
  4. OPCollection
  5. FeatureType
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Geolocation(v: (Double, Double, Double))

    Permalink
  2. new Geolocation(lat: Double, lon: Double, accuracy: GeolocationAccuracy)

    Permalink
  3. new Geolocation(value: Seq[Double])

    Permalink

    value

    a list of latitude, longitude, accuracy

Type Members

  1. type Value = Seq[Double]

    Permalink

    Feature value type

    Feature value type

    Definition Classes
    OPListFeatureType

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def accuracy: GeolocationAccuracy

    Permalink

    Geolocation accuracy value GeolocationAccuracy

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def contains(v: Value): Boolean

    Permalink

    Returns true if this feature value is non empty and contains the specified value $v.

    Returns true if this feature value is non empty and contains the specified value $v. Otherwise, returns false.

    v

    value to test

    Definition Classes
    FeatureType
  8. implicit val cta: ClassTag[Double]

    Permalink
    Definition Classes
    OPList
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. final def equals(in: Any): Boolean

    Permalink

    Indicates whether some other object is "equal to" this one

    Indicates whether some other object is "equal to" this one

    Definition Classes
    FeatureType → AnyRef → Any
  11. final def exists(p: (Value) ⇒ Boolean): Boolean

    Permalink

    Returns true if this feature value is non empty and the predicate $p returns true when applied to this feature type value.

    Returns true if this feature value is non empty and the predicate $p returns true when applied to this feature type value. Otherwise, returns false.

    p

    the predicate to test

    Definition Classes
    FeatureType
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def hashCode(): Int

    Permalink

    Returns a hash code value for the value

    Returns a hash code value for the value

    Definition Classes
    FeatureType → AnyRef → Any
  15. final def isEmpty: Boolean

    Permalink

    Returns true is the value is empty, false otherwise

    Returns true is the value is empty, false otherwise

    Definition Classes
    OPListFeatureType
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isNullable: Boolean

    Permalink

    Returns true is the value is nullable, false otherwise

    Returns true is the value is nullable, false otherwise

    Definition Classes
    FeatureType
  18. def lat: Double

    Permalink

    Latitude value

  19. def latitude: Double

    Permalink

    Latitude value

  20. def lon: Double

    Permalink

    Longitude value

  21. def longitude: Double

    Permalink

    Longitude value

  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def nonEmpty: Boolean

    Permalink

    Returns true is the value is non empty, false otherwise

    Returns true is the value is non empty, false otherwise

    Definition Classes
    FeatureType
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. final def toArray: Array[Double]

    Permalink

    Converts list to an array

    Converts list to an array

    returns

    array of A

    Definition Classes
    OPList
  28. def toGeoPoint: GeoPoint

    Permalink

    Convert to GeoPoint value

  29. def toString(): String

    Permalink

    Returns a string representation of this value

    Returns a string representation of this value

    Definition Classes
    GeolocationFeatureType → AnyRef → Any
  30. final def v: Value

    Permalink

    Returns value shortcut

    Returns value shortcut

    Definition Classes
    FeatureType
  31. val value: Seq[Double]

    Permalink

    a list of latitude, longitude, accuracy

    a list of latitude, longitude, accuracy

    Definition Classes
    GeolocationFeatureType
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Location

Inherited from OPList[Double]

Inherited from OPCollection

Inherited from FeatureType

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped