public void categorysProjectsView(Map<Integer, Project> projectList) { if (projectList.size() == 1) { for (Project p : projectList.values()) { System.out.println( "Project Title : " + p.getTitle() + "\n Project Discription :" + p.getDiscription() + "\n Project History : " + p.getProjectHistory() + "\n Video Link : " + p.getVideoLink() + "\n Required Sum :" + p.getRequiredSum() + "\n Gained Sum :" + p.getGainedSum() + "\n Days Left :" + p.getDaysLeft() + "\n"); } } else { for (Project p : projectList.values()) { System.out.println( "Project Title : " + p.getTitle() + "\n Project Discription :" + p.getDiscription() + "\n Required Sum :" + p.getRequiredSum() + "\n Gained Sum :" + p.getGainedSum() + "\n Days Left :" + p.getDaysLeft() + "\n"); } } }
public void singleCategorysProjectsView(Project p) { System.out.println( "\nProject Title : " + p.getTitle() + "\n Project Discription :" + p.getDiscription() + "\n Project History : " + p.getProjectHistory() + "\n Video Link : " + p.getVideoLink() + "\n Required Sum :" + p.getRequiredSum() + "\n Gained Sum :" + p.getGainedSum() + "\n Days Left :" + p.getDaysLeft() + "\n QustionSection : " + p.getQuestionSection()); }