com.aspose.diagram
Class Collection

java.lang.Object
    extended by com.aspose.diagram.Collection
All Implemented Interfaces:
java.lang.Iterable
Direct Known Subclasses:
ActCollection, AnnotationCollection, ArcToCollection, CharCollection, ColorEntryCollection, ConnectCollection, ConnectionABCDCollection, ConnectionCollection, ControlCollection, CoordinateCollection, CustomPropCollection, DataColumnCollection, DataConnectionCollection, DataRecordSetCollection, EllipseCollection, EllipticalArcToCollection, EventItemCollection, FieldCollection, FloatPointNumCollection, FontCollection, FormatTxtCollection, GeomCollection, GradientStopCollection, HyperlinkCollection, InfiniteLineCollection, IssueCollection, LayerCollection, LineToCollection, MasterCollection, MasterShortcutCollection, MoveToCollection, NURBSToCollection, PageCollection, ParaCollection, PolylineToCollection, PropCollection, RelationShapeCollection, RelCubBezToCollection, RelEllipticalArcToCollection, RelLineToCollection, RelMoveToCollection, RelQuadBezToCollection, ReviewerCollection, RowCollection, RuleCollection, RuleSetCollection, ScratchCollection, ShapeCollection, SmartTagDefCollection, SolutionXMLCollection, SplineKnotCollection, SplineStartCollection, StyleSheetCollection, TabCollection, TabsCollection, TextCollection, UserCollection, WindowCollection

public abstract class Collection 
extends java.lang.Object

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(int index)
           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.

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.