Searched refs:LongUnaryOperator (Results 1 – 13 of 13) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | LongUnaryOperatorTest.java | 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()
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | LongUnaryOperator.java | 41 public interface LongUnaryOperator { interface 64 default LongUnaryOperator compose(LongUnaryOperator before) { in compose() 82 default LongUnaryOperator andThen(LongUnaryOperator after) { in andThen() 92 static LongUnaryOperator identity() { in identity()
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicLong.java | 41 import java.util.function.LongUnaryOperator; 305 public final long getAndUpdate(LongUnaryOperator updateFunction) { in getAndUpdate() 327 public final long updateAndGet(LongUnaryOperator updateFunction) { in updateAndGet()
|
D | AtomicLongArray.java | 41 import java.util.function.LongUnaryOperator; 275 public final long getAndUpdate(int i, LongUnaryOperator updateFunction) { in getAndUpdate() 299 public final long updateAndGet(int i, LongUnaryOperator updateFunction) { in updateAndGet()
|
D | AtomicLongFieldUpdater.java | 44 import java.util.function.LongUnaryOperator; 293 public final long getAndUpdate(T obj, LongUnaryOperator updateFunction) { in getAndUpdate() 315 public final long updateAndGet(T obj, LongUnaryOperator updateFunction) { in updateAndGet()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | LongStream.java | 44 import java.util.function.LongUnaryOperator; 102 LongStream map(LongUnaryOperator mapper); in map() 932 public static LongStream iterate(final long seed, final LongUnaryOperator f) { in iterate() 993 public static LongStream iterate(long seed, LongPredicate hasNext, LongUnaryOperator next) { in iterate()
|
D | LongPipeline.java | 43 import java.util.function.LongUnaryOperator; 229 public final LongStream map(LongUnaryOperator mapper) {
|
/libcore/ojluni/annotations/flagged_api/java/util/stream/ |
D | LongStream.annotated.java | 33 public java.util.stream.LongStream map(java.util.function.LongUnaryOperator mapper); in map() 116 public static java.util.stream.LongStream iterate(long seed, java.util.function.LongUnaryOperator f… in iterate() 119 … seed, java.util.function.LongPredicate hasNext, java.util.function.LongUnaryOperator next) { thro… in iterate()
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | AbsTests.java | 105 private static void testLongAbs(LongUnaryOperator absFunc, in testLongAbs()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | DefaultMethodStreams.java | 66 import java.util.function.LongUnaryOperator; 614 public LongStream map(LongUnaryOperator mapper) { in map()
|
/libcore/api/ |
D | current.txt | 16607 method public final long getAndUpdate(java.util.function.LongUnaryOperator); 16618 method public final long updateAndGet(java.util.function.LongUnaryOperator); 16643 method public final long getAndUpdate(int, java.util.function.LongUnaryOperator); 16653 method public final long updateAndGet(int, java.util.function.LongUnaryOperator); 16673 method public final long getAndUpdate(T, java.util.function.LongUnaryOperator); 16678 method public final long updateAndGet(T, java.util.function.LongUnaryOperator); 17218 @java.lang.FunctionalInterface public interface LongUnaryOperator { 17219 …method public default java.util.function.LongUnaryOperator andThen(java.util.function.LongUnaryOpe… 17221 …method public default java.util.function.LongUnaryOperator compose(java.util.function.LongUnaryOpe… 17222 method public static java.util.function.LongUnaryOperator identity(); [all …]
|
/libcore/ |
D | openjdk_java_files.bp | 1091 "ojluni/src/main/java/java/util/function/LongUnaryOperator.java",
|
D | EXPECTED_UPSTREAM | 1142 …va/java/util/function/LongUnaryOperator.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java…
|