Class Collection

    • Constructor Detail

      • Collection

        public Collection()
    • Method Detail

      • add

        public void add​(Record record)
      • getRecord

        public Record getRecord​(int index)

        Returns the Record object for the given index.

        Parameters:
        index - the index of the record object
        Returns:
        Record the Record object
      • getSize

        public int getSize()

        Returns the number of records in the collection.

        Returns:
        int the number of records in the collection