Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Collections defines utility methods for lists and maps.

Hierarchy

  • Collections

Index

Constructors

Properties

TYPE_BOOLEAN: string = "_b"

The generic type of booleans

TYPE_FLOAT: string = "_f"

The generic type of floats

TYPE_INT: string = "_i"

The generic type of integers

TYPE_LIST: string = "AL"

The serial type of list objects

TYPE_MAP: string = "AM"

The serial type of map objects

TYPE_OBJECT: string = "_o"

The generic type of objects

TYPE_STRING: string = "_s"

The generic type of strings

Methods

  • createList(genericType: string): IList
  • Create a new list.

    Parameters

    • genericType: string

      the generic type of the elements, like MapOject.TYPE for example.

    Returns IList

    the list.

  • createMap(genericType: string): IMap
  • Create a new map.

    Parameters

    • genericType: string

      the generic type of the elements, like MapOject.TYPE for example.

    Returns IMap

    the map.