001package ca.bc.webarts.widgets; 002public class DoubleToIntFunction implements java.util.function.DoubleToIntFunction 003{ public int applyAsInt(double value){ return (new Double(value)).intValue();} }