Java List Sort sort(List list1, List list2)

Here you can find the source of sort(List list1, List list2)

Description

sort

License

Open Source License

Declaration

public static int sort(List<?> list1, List<?> list2) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.List;

public class Main {
    public static int sort(List<?> list1, List<?> list2) {
        return list2.size() - list1.size();
    }//  ww  w.  j a  va 2s .c om
}

Related

  1. sort(final List list)
  2. sort(List list)
  3. sort(List list)
  4. sort(List list)
  5. sort(List list, Comparator comparator)
  6. sort(List list)
  7. sort(List source)
  8. sort(List> listOfClassDataList)
  9. sort(List> lists)