<commit_before>package ch.epfl.ivrl.photopicker.utils;

/**
 * Created by Sidney on 01.06.2016.
 */
public class CollectionUtils {
}<commit_msg>Adds sorting util<commit_after>package ch.epfl.ivrl.photopicker.utils;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

/**
 * Created by Sidney on 01.06.2016.
 */
public class CollectionUtils {
    public static
    <T extends Comparable<? super T>> List<T> asSortedList(Collection<T> c) {
        List<T> list = new ArrayList<T>(c);
        java.util.Collections.sort(list);
        return list;
    }
}
{'fraction_non_alphanumeric': 0.12886597938144329, 'fraction_numerical': 0.027491408934707903, 'mean_word_length': 3.590551181102362, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6000945', 'n_tokens_mistral': 208, 'n_tokens_neox': 189, 'n_words': 45}