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

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); }
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy