MapBase

open class MapBase: ObjectBase

Base class for strongly-typed maps.

  • Default initializer.

    Declaration

    Swift

    override public init()
  • Remove all entries from this map.

    Declaration

    Swift

    open func removeAll() -> Void
  • The number of entries in this map.

    Declaration

    Swift

    open var size: Int
  • Declaration

    Swift

    override open func toString() -> String

    Return Value

    A string representation of this object.

  • The underlying untyped map. Use with care, avoiding the addition of entries with an incorrect key or value type.

    Declaration

    Swift

    open var untypedMap: UntypedMap