MapBase

open class MapBase : ObjectBase

Base class for strongly-typed maps.

  • Default initializer.

    Declaration

    Swift

    override public init()
  • true if this map contains no entries.

    Declaration

    Swift

    open var isEmpty: Bool { get }
  • Remove all entries from this map.

    Declaration

    Swift

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

    Declaration

    Swift

    open var size: Int { get }
  • 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 { get }