com.aspose.diagram

Class Collection

  • java.lang.Object
    • com.aspose.diagram.Collection
It is base class for collections.

Constructor Summary
Collection()
Constructor.
 
Property Getters/Setters Summary
intgetCount()
Gets the number of elements actually contained in the collection.
 
Method Summary
voidclear()
Removes all elements from collection.
booleanisExist(intindex)
Is exist item in the collection.
java.util.Iteratoriterator()
Supports a simple iteration over a nongeneric collection.
 

    • Constructor Detail

      • Collection

        public Collection()
        Constructor.
    • Property Getters/Setters Detail

      • getCount

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

      • iterator

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

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

        public void clear()
        Removes all elements from collection.