Java List Sort sort( S list)

Here you can find the source of sort( S list)

Description

sort

License

Open Source License

Declaration

private static <E extends Comparable<? super E>, S extends List<E>> S sort(
             S list) 

Method Source Code

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

import java.util.Collections;

import java.util.List;

public class Main {
    private static <E extends Comparable<? super E>, S extends List<E>> S sort(
            S list) {//from  www  .  j a  v a 2  s.com
        Collections.sort(list);
        return list;
    }
}

Related

  1. removeSortByColumnName(List sortProperty, List ascending, String columnName)
  2. removeSortColumns(List selectColumns, List sorts, List ascending)
  3. removeSortColumns(List selectColumns, List sorts, List ascending)
  4. searchSorted(List a, double v)
  5. setToSortedList(final Set set, final Comparator comparator)
  6. sort(Collection list)
  7. Sort(Collection list)
  8. sort(Collection list)
  9. sort(final List list)