@Nonnull
	public static <R> IntFunction<R> intFunctionFrom(Consumer<IntFunctionBuilder<R>> buildingFunction) {
		IntFunctionBuilder builder = new IntFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
@ Nonnull public static < R > IntFunction < R > intFunctionFrom ( Consumer < IntFunctionBuilder < R > > buildingFunction ) { IntFunctionBuilder builder = new IntFunctionBuilder ( ) ; buildingFunction . accept ( builder ) ; return builder . build ( ) ; }
One of ways of creating builder. This is possibly the least verbose way where compiler should be able to guess the generic parameters.