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

io.github.cshencode.function.ListFunction Maven / Gradle / Ivy

There is a newer version: 2.1.2-RELEASE
Show newest version
package io.github.cshencode.function;

import java.util.List;
import java.util.function.Function;

/**
 * 

* - *

* * @author css * @since 2021/8/2 */ public interface ListFunction { static Function, T> listFirst() { return t -> t.get(0); } static Function, List> list() { return t -> t; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy