Class: Set (of List)

The Set class is an extension of the List class. It is used to handle a list of elements such as objects.

Properties

  • elements
  • size

Methods

  • string showStr(string strBuf)

    Returns a string into strBuf stating the object name and collection size.

  • void add(nodes)

    Adds the givent nodes to the list of elements.