Interface CollectionClass

  • All Superinterfaces:
    DataClass, PropertyHandler
    All Known Subinterfaces:
    ListClass, SetClass
    All Known Implementing Classes:
    CollectionClassImpl, ListClassImpl, SetClassImpl

    public interface CollectionClass
    extends DataClass
    The Collection Classes SetClass and ListClass are both containers that can store each kind of data objects. Typical restrictions are the maximum and minimum number of elements and the base data class of whom the element objects must be instances. The difference between List and Set is that a List stores the elements in a fixed order, whereby a Set uses an arbitrary order.

    Properties of collection classes:

    Data Class Equal Element Types? Elements Ordered? Duplicates Possible? Element Access Number of Elements
    SetClass yes no no iterator variable
    ListClass yes yes yes iterator variable
    Properties of collection classes
    Author:
    rmaximi
    See Also:
    SetClass, ListClass