org.bbottema.javareflection.util.Function Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-reflection Show documentation
Show all versions of java-reflection Show documentation
Java Reflection provides a small package with nifty reflection features that will help with finding constructors, methods and value conversions
package org.bbottema.javareflection.util;
import static org.bbottema.javareflection.util.MiscUtil.trustedCast;
public interface Function {
T apply(F value);
class Functions {
private static final Function, ?> IDENTITY_FUNCTION = new Function