@@ -0,0 +1,1313 @@
+package no_lambda;%0A%0Aimport java.util.Comparator;%0A%0Apublic class Student implements Comparable%3CStudent%3E %7B%0A        %0A    @Override public int compareTo(Student s) %7B%0A%09return this.getPerm() - s.getPerm();%0A    %7D%0A    %0A    public static Comparator%3CStudent%3E StudentComparatorByName =%0A%09new Comparator%3CStudent%3E() %7B%0A%09    public int compare(Student s1, Student s2) %7B%0A%09%09return s1.getName().compareTo(s2.getName());%0A%09    %7D%0A%09%7D;%0A    %0A    private int perm;%0A    private String lname;%0A%0A    public Student(int perm, String lname) %7B%0A%09this.perm = perm;%0A%09this.lname = lname;%0A    %7D%0A%0A    public int getPerm() %7B return this.perm;%7D%0A    public String getName() %7B return this.lname;%7D%0A%0A    public String toString() %7B%0A%09return %22%5B%22 + this.perm + %22,%22 + this.lname + %22%5D%22;%0A    %7D%0A%0A    public static void main(String %5B%5D args) %7B%0A%09java.util.ArrayList%3CStudent%3E classroom =%0A%09    new java.util.ArrayList%3CStudent%3E();%0A%09classroom.add(new Student(1234567,%22Smith%22));%0A%09classroom.add(new Student(3345678,%22Jones%22));%0A%09classroom.add(new Student(2456789,%22Perez%22));%09%09  %0A%09System.out.println(%22classroom=%22 + classroom);%0A%0A%09java.util.Collections.sort(classroom);%0A%09System.out.println(%22sorted by perm classroom=%22 + classroom);%0A%09%0A%09java.util.Collections.sort(classroom,StudentComparatorByName);%0A%09System.out.println(%22sorted by name classroom=%22 + classroom);%09%0A%0A%0A%0A    %7D%0A    %0A%7D%0A    %0A

Add no lambda code