com.unit16.z.UniformFunction Maven / Gradle / Ivy
package com.unit16.z;
import java.util.function.Function;
public interface UniformFunction
extends Function
{
// marker type
public static final class UpCast implements UniformFunction
{
private final Function f_;
public UpCast(Function f) { f_ = f; }
@Override public D apply(D from) { return f_.apply(from); }
}
}