Searched refs:LongUnaryOperator (Results 1 – 8 of 8) sorted by relevance
21 import java.util.function.LongUnaryOperator;26 assertEquals(1L, LongUnaryOperator.identity().applyAsLong(1L)); in testIdentity()27 assertEquals(Long.MAX_VALUE, LongUnaryOperator.identity().applyAsLong(Long.MAX_VALUE)); in testIdentity()31 LongUnaryOperator plusOne = x -> x + 1L; in testCompose()32 LongUnaryOperator twice = x -> 2L *x; in testCompose()37 LongUnaryOperator plusOne = x -> x + 1; in testCompose_null()45 LongUnaryOperator plusOne = x -> x + 1L; in testAndThen()46 LongUnaryOperator twice = x -> 2L *x; in testAndThen()51 LongUnaryOperator plusOne = x -> x + 1L; in testAndThen_null()
41 public interface LongUnaryOperator { interface64 default LongUnaryOperator compose(LongUnaryOperator before) { in compose()82 default LongUnaryOperator andThen(LongUnaryOperator after) { in andThen()92 static LongUnaryOperator identity() { in identity()
39 import java.util.function.LongUnaryOperator;235 public final long getAndUpdate(LongUnaryOperator updateFunction) { in getAndUpdate()254 public final long updateAndGet(LongUnaryOperator updateFunction) { in updateAndGet()
39 import java.util.function.LongUnaryOperator;261 public final long getAndUpdate(int i, LongUnaryOperator updateFunction) { in getAndUpdate()282 public final long updateAndGet(int i, LongUnaryOperator updateFunction) { in updateAndGet()
44 import java.util.function.LongUnaryOperator;289 public final long getAndUpdate(T obj, LongUnaryOperator updateFunction) { in getAndUpdate()309 public final long updateAndGet(T obj, LongUnaryOperator updateFunction) { in updateAndGet()
49 import java.util.function.LongUnaryOperator;107 LongStream map(LongUnaryOperator mapper); in map()734 public static LongStream iterate(final long seed, final LongUnaryOperator f) { in iterate()
43 import java.util.function.LongUnaryOperator;214 public final LongStream map(LongUnaryOperator mapper) {
1049 "ojluni/src/main/java/java/util/function/LongUnaryOperator.java",