asposediagram.api

Class Collection

It is base class for collections.

Constructor Summary
Collection()
Constructor.
 
Property Getters/Setters Summary
methodgetCount()
Gets the number of elements actually contained in the collection.
 
Method Summary
methodclear()
Removes all elements from collection.
methodisExist(index)
Is exist item in the collection.
methoditerator()
Supports a simple iteration over a nongeneric collection.
 

    • Constructor Detail

      • Collection

        Collection()
        Constructor.
    • Property Getters/Setters Detail

      • getCount : int 

        int getCount()
        
        Gets the number of elements actually contained in the collection.
    • Method Detail

      • iterator

        Iterator iterator()
        Supports a simple iteration over a nongeneric collection.
        Returns:
      • isExist

        boolean isExist(index)
        Is exist item in the collection.
        Parameters:
        index: int - index of element.
        Returns:
      • clear

         clear()
        Removes all elements from collection.