src/main/java/seedu/address/bot/ArkBot.java
public String parseDisplayParcels(ArrayList<DisplayParcel> displayParcels) {
        if (displayParcels.size() == 0) {
            return "No parcels to be displayed.";
        } else {
            String result = "";
            for (int i = 0; i < displayParcels.size(); i++) {
                result += (i + 1) + ". " + displayParcels.get(i).toString() + "\n";
            }

            return result;
        }
    }
/**
     * Formats a list of Parcels to be displayed on ArkBot
     */
Formats a list of Parcels to be displayed on ArkBot
Formats a list of Parcels to be displayed on ArkBot
public String parseDisplayParcels(ArrayList<DisplayParcel> displayParcels) {
        if (displayParcels.size() == 0) {
            return "No parcels to be displayed.";
        } else {
            String result = "";
            for (int i = 0; i < displayParcels.size(); i++) {
                result += (i + 1) + ". " + displayParcels.get(i).toString() + "\n";
            }
            return result;
        }
    }
public String parseDisplayParcels ( ArrayList < DisplayParcel > displayParcels ) { if ( displayParcels . size ( ) == 0 ) { return "No parcels to be displayed." ; } else { String result = "" ; for ( int i = 0 ; i < displayParcels . size ( ) ; i ++ ) { result += ( i + 1 ) + ". " + displayParcels . get ( i ) . toString ( ) + "\n" ; } return result ; } }
Formats a list of Parcels to be displayed on ArkBot
Formats a list of Parcels to be displayed on ArkBot