QuangTran304 / A1-COMP348

Course: Principles of Programming Languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COMP348

This is the repository for Assignment #1 - COMP 348 class - Principles of Programming Languages

Due date: October 6th, 2020

Programming languages: Java & Prolog

Team members:

  • Quang - ID# 27740654
  • Ash - ID# 40096265
  • Eric - ID# 40113678
  • Parsa - ID# 40179383

Requirements for Java part:

  • Strictly use the classes defined in Q1. May not defined additional classes.
  • Use try-with-resources to open the file. The input file must be given by the user.
  • Strictly use functional programming and Java API for sorting & displaying Employee objects. Use Arrays.sort(). No additional classes or interfaces are allowed. The Employee class may not implement the Comparable interface.
  • Use Java stream API to process the input file. You may use String.split() to transform the input lines as a line array, and eventually into an array of employees.
  • Use Java Stream API to display the summary information. No explicit loops may be used.
  • Use at least one method-reference in your code.

About

Course: Principles of Programming Languages


Languages

Language:Java 57.3%Language:Prolog 42.7%