All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xxl.mathematica.list.Reverse Maven / Gradle / Ivy

package xxl.mathematica.list;

import java.util.List;

/**
 * 反向排序
 */
public class Reverse {
    /**
     * 反向排序
     *
     * @param list
     * @return
     */
    public static  List reverse(List list) {
        return io.vavr.collection.List.ofAll(list)
                .reverse()
                .asJava();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy