Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create a class Advisor (advisor name) and a class Student (student name, gpa). M

ID: 3530999 • Letter: C

Question

Create a class Advisor (advisor name) and a class Student (student name, gpa). Make sure to include setter and getter methods, as well as toString() method. 2. Create a generic class Pair. The two type parameters (F and S) repr esent the type of the first and second element of the pair. In addition to setter and getter methods, include a method toString() which simply prints the pairs in one line. Now you can create objects Pair, and print them in one line using toString() method. Note: At no point are you allowed to use type casting! If you are using type casting you haven't understood the concept of generics. 3. Create three custom Comparator classes for comparing Pairs by implementing interface Comparator as f ollows: AdvisorPairComparator (allows alphabetical comparison of Pair objects based on the advisor names), StudentNamePairComparator (allows alphabetical comparison of Pair objects based on the student names), and StudentGpaPairComparator (allows compariso n of Pair objects based on the student gpa) 4. Create a list (your choice: ArrayList or LinkedList) of Pairs for the following data (file data.txt is located within the zipped folder data.zip). To access the file, unzip the folder. The file is in the form of advisor, student, gpa... 5. Use the sort() method of the Collections class and an appropriate comparator class defined in (3) to sort the list created in (4): first by advisor, then by student name, and finally by student gpa. After each sort, print the entire content of the list. Your output should look like this, just appropriately sorted: Advisor: John, Student: Ted, GPA: 3.23 Advisor: Alex, Student: Mia, GPA: 4.0 ... Upload the .zip file that includes all of your .java files. Note: Thi s is an advanced java course. Thus, it is an imperative that you create several self - contained classes, each encapsulating specific and clearly defined tasks. I will not accept one class submissions, where the single class contains a main method and 1000+ lines of code within it. Think Object Oriented! Data file for the program Eric Spoelstra, LeBron James, 3.23 Lionel Hollins, Marc Gasol, 2.3 Doug Collins, Kwame Brown, 3.35 Eric Spoelstra, Dwyane Wade, 3.41 Tom Thibodeau, Derrick Rose, 2.25 Lionel Hollins, Jon Leuer, 2.3 Eric Spoelstra, Chris Bosch, 4.0 Pat Riley, Earvin Johnson, 3.93 Doug Collins, Damien Wilkins, 2.35 Pat Riley, Karim Abdul Jabbar, 3.2 Doc Rivers, Rajon Rondo, 4.0 Doug Collins, Evan Turner, 2.35 Armond Hill, Brandon Bass, 2.3 Lionel Hollins, Ed Davis, 2.3 Mike Woodson, Kurt Thomas, 2.85 Kevin Eastman, Shavlik Randolph, 4.0 Doug Collins, Royal Ivey, 2.35 Mike Longabardi, Jared Sullinger, 3.3 Tyron Lue, Jason Terry, 1.8 Chris Finch, Francisco Garcia, 3.50 Dean Cooper, Carlos Delfino, 3.25 Mike Woodson, Rasheed Wallace, 2.85 Jamie Young, Fab Melo, 2.3 Doug Collins, Jeremy Pargo, 2.35 Mike Woodson, Amar'e Stoudemire, 2.85 Doug Collins, Jrue Holiday, 2.35 Jay Larranaga, Paul Pierce, 2.9 Rick Carlisle, Dirk Nowitzki, 3.8 Mike Woodson, James White, 2.85 Rick Carlisle, shawn Marion, 3.1 Jim O'Brien, Elton Brand, 3.2 Gregg Popovich, Steven Jackson, 3.85 Dean Cooper, Francisco Garcia, 3.25 Monte Mathis, Mike James, 2.2 Gregg Popovich, Thiago Splitter, 3.85 Chris Finch, Aaron Brooks, 3.50 Tony Brown, Darren Collison, 2.73 Darrell Armstrong, Brad Davis, 2.13 Mike Shedd, Casey Smith, 3.4 P.J. Carlesimo, Tayshawn Taylor, 2.82 Popeye Jones, Mirza Teletovic, 3.21 Gregg Popovich, Aron Baynes, 2.85 Patrick Spurgin, Brook Lopez, 3.74 Mario Elie, Joe Johnson, 2.75 Ed Pinckney, Carlos boozer,3.25 Gregg Popovich, Kawhi Leonard, 3.85 Tom Thibodeau, Nate Robinson, 2.25 Gregg Popovich, DeJuan Blair, 2.85 Lionel Hollins, Zach Randolph, 2.3 Ed Pinckney, Richard Hamilton,3.25 Mike Woodson, Marcus Camby, 2.85 P.J. Carlesimo, Jerry Stackhouse, 2.82 Kevin McHale, Omer Asik, 3.75 Vinny Del Negro, MAtt Barnes, 2.25 Lionel Hollins, Tayshaun Prince, 3.3 Kelvin Sampson, Jeremy Lin, 4.00 Gregg Popovich, Boris Diaw, 2.85 Keith Smart, Bobby Jackson, 3.31 Mike Woodson, Jason Kidd, 2.85 Vinny Del Negro, DeAndre Jordan, 3.25 Greg Buckner, Chandler Parsons, 3.9 Kevin McHale, James Harden, 2.75 Vinny Del Negro, Grant Hill, 4.00 Keith Smart, Isiah Thomas, 2.31 Jacque Vaughn, DeQuan Jones, 3.85 Dean Cooper, Terrence Jones, 3.25 Mike Woodson, Carmelo Anthony, 2.85 Ed Pinckney, Daequan Cook,3.25 Vinny Del Negro, Chris Paul, 3.95 Jacque Vaughn, Jameer Nelson, 2.25 Jacque Vaughn, Beno Udrih, 3.85 Chris Finch, Tim Ohlbrecht, 3.50 Gregg Popovich, Tony Parker, 3.85 Jacque Vaughn, Nikola Vucevic, 3.85 Herb Williams, Iman Shumpert, 2.10 Mike Woodson, Pablo Prigioni, 2.85 Lionel Hollins, Dexter Pittman, 2.3 Ed Pinckney, Taj Gibson,3.25 Henry Bibby, Quincy Pointdexter, 3.75 Lionel Hollins, Mike Conley, 2.3 Doug Collins, Lavoy Allen, 2.35 Vinny Del Negro, Jamal Crawford, 3.25 Gregg Popovich, Tim Duncan, 3.85 Tom Thibodeau, Kirk Heinrich, 3.25 Gregg Popovich, Aron Baynes, 2.85 Ed Pinckney, Joakim Noah,3.25 Tom Thibodeau, Luol Deng, 4.00 Vinny Del Negro, Chauncey Billups, 3.25 Keith Smart, Patrick Patterson, 2.31 Alex English, DeMarcus Cousins, 2.75 Daniel Shapiro, Travis Outlaw, 2.31 Jacque Vaughn, Hedo Turkoglu, 3.85

Explanation / Answer

the question is not clearly understood.Mail me the question at varunjain850@gmail.com.I will mail you the solution back.plz rate here first.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote