/** * Valid for any number of calls from the beginning of assembly. * * @param andThen a LongUnaryOperator * @return this FunctionAssemble */ public FunctionAssembler andThen(LongUnaryOperator andThen) { // TODO: add type checks or possible miswiring assertions here. if (longlongfunction == null) { longlongfunction = andThen; } else { longlongfunction = longlongfunction.andThen(andThen); } return this; }
/** * Valid for any number of calls from the beginning of assembly. * * @param andThen a LongUnaryOperator * @return this FunctionAssemble */ public FunctionAssembler andThen(LongUnaryOperator andThen) { // TODO: add type checks or possible miswiring assertions here. if (longlongfunction == null) { longlongfunction = andThen; } else { longlongfunction = longlongfunction.andThen(andThen); } return this; }