Class RecordList


  • public class RecordList
    extends java.lang.Object
    unit test class
    • Constructor Summary

      Constructors 
      Constructor Description
      RecordList()  
    • Constructor Detail

      • RecordList

        public RecordList()
    • Method Detail

      • addRecord

        public void addRecord​(ModelClass record)
        This method adds a record in the list
        Parameters:
        record - the object which is going to be added to the list
      • sortRecords

        public java.util.List<ModelClass> sortRecords()
        This method is for returning a sorted list
        Returns:
        returns a sorted list of records
      • deleteRecord

        public void deleteRecord​(ModelClass record)
        This method deletes an existing method to the list
        Parameters:
        record - the object which is going to be deleted from the list