![JAR search and dependency download from the Maven repository](/logo.png)
com.github.andyshao.util.function.SupplierOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Gear Show documentation
Show all versions of Gear Show documentation
Enhance and formating the coding of JDK
The newest version!
package com.github.andyshao.util.function;
import java.util.function.Supplier;
/**
*
* Title:
* Descript:
* Copyright: Copryright(c) Nov 1, 2019
* Encoding: UNIX UTF-8
*
* @author Andy.Shao
*
*/
public class SupplierOperation {
private SupplierOperation() {
throw new AssertionError("Does not support exception");
}
/**
* lambda
* @param supplier {@link Supplier}
* @return original {@link Supplier}
* @param data type
*/
public static final Supplier lambda(Supplier supplier) {
return supplier;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy