List of usage examples for java.util.function LongUnaryOperator andThen
default LongUnaryOperator andThen(LongUnaryOperator after)
From source file:Main.java
public static void main(String[] args) { LongUnaryOperator i = (l) -> -l; LongUnaryOperator j = (l) -> l / 2; System.out.println(i.andThen(j).applyAsLong(Long.MAX_VALUE)); }