sdk-common / com.tomtom.online.sdk.common.util / Visitable

Visitable

interface Visitable<T : Any!>

A generic interface for classes that accept a visitor.

Functions

accept

abstract fun accept(visitor: T): Unit

Accept the visitor

Inheritors

Feature

open class Feature : GeoJsonObject, Visitable<GeoJsonObjectVisitor!>, Serializable

Represents a spatially bound entity. Consists of a Geometry object and an id. Both are optional. If geometry is absent, the feature is unlocated.

GeoJsonObject

abstract class GeoJsonObject : Visitable<GeoJsonObjectVisitor!>, Serializable

A GeoJsonObject representing a Geometry, Feature, or collection of Features.