Function Chaining

import java.util.function.*;

class FunctionChaining {

  public static void main(String[] args) {
    Function<Integer, Integer> f1 = i -> i * 2;
    Function<Integer, Integer> f2 = i -> i * i * i;
    //first f1 then f2;
    System.out.println(f1.andThen(f2).apply(2));
    //first f2 then f1;
    System.out.println(f1.compose(f2).apply(2));
    System.out.println(f2.andThen(f1).apply(2));
  }
}

Google Script for Data Entry Form in Google Spreadsheet

// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...