Class RecordList
- java.lang.Object
-
- com.example.cardiacmeasurementmanager.RecordList
-
public class RecordList extends java.lang.Objectunit test class
-
-
Constructor Summary
Constructors Constructor Description RecordList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRecord(ModelClass record)This method adds a record in the listvoiddeleteRecord(ModelClass record)This method deletes an existing method to the listjava.util.List<ModelClass>sortRecords()This method is for returning a sorted list
-
-
-
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
-
-