/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | SequentialOpTest.java | 37 import java.util.function.UnaryOperator; 57 UnaryOperator<Stream<Integer>>[] configs in testLazy() 58 = new UnaryOperator[] { in testLazy() 59 … (UnaryOperator<Stream<Integer>>) s -> s.peek(e -> { counter.incrementAndGet(); }), in testLazy() 60 …(UnaryOperator<Stream<Integer>>) s -> s.map(id).peek(e -> { counter.incrementAndGet(); }).sequenti… in testLazy() 61 …(UnaryOperator<Stream<Integer>>) s -> s.map(id).peek(e -> { counter.incrementAndGet(); }).parallel… in testLazy() 62 (UnaryOperator<Stream<Integer>>) s -> s.sequential().map(id).peek(e -> { in testLazy() 65 …(UnaryOperator<Stream<Integer>>) s -> s.parallel().map(id).peek(e -> { counter.incrementAndGet(); … in testLazy() 73 UnaryOperator<Stream<Integer>> config = configs[j]; in testLazy() 101 UnaryOperator<Stream<Integer>>[] changers in testMixedSeqPar() [all …]
|
D | InfiniteStreamWithLimitOpTest.java | 44 import java.util.function.UnaryOperator; 67 (UnaryOperator<Stream>) s -> s.limit(SKIP_LIMIT_SIZE)}); in sliceFunctionsDataProvider() 69 (UnaryOperator<Stream>) s -> s.skip(SKIP_LIMIT_SIZE).limit(SKIP_LIMIT_SIZE)}); in sliceFunctionsDataProvider() 81 (UnaryOperator<IntStream>) s -> s.limit(SKIP_LIMIT_SIZE)}); in intSliceFunctionsDataProvider() 83 (UnaryOperator<IntStream>) s -> s.skip(SKIP_LIMIT_SIZE).limit(SKIP_LIMIT_SIZE)}); in intSliceFunctionsDataProvider() 95 (UnaryOperator<LongStream>) s -> s.limit(SKIP_LIMIT_SIZE)}); in longSliceFunctionsDataProvider() 97 (UnaryOperator<LongStream>) s -> s.skip(SKIP_LIMIT_SIZE).limit(SKIP_LIMIT_SIZE)}); in longSliceFunctionsDataProvider() 109 (UnaryOperator<DoubleStream>) s -> s.limit(SKIP_LIMIT_SIZE)}); in doubleSliceFunctionsDataProvider() 111 (UnaryOperator<DoubleStream>) s -> s.skip(SKIP_LIMIT_SIZE).limit(SKIP_LIMIT_SIZE)}); in doubleSliceFunctionsDataProvider() 180 public void testSubsizedWithRange(String description, UnaryOperator<Stream<Long>> fs) { [all …]
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | UnaryOperatorTest.java | 21 import java.util.function.UnaryOperator; 27 assertSame(arg, UnaryOperator.identity().apply(arg)); in testIdentity() 28 assertNull(null, UnaryOperator.identity().apply(null)); in testIdentity()
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | UnaryOperator.java | 41 public interface UnaryOperator<T> extends Function<T, T> { interface 49 static <T> UnaryOperator<T> identity() { in identity()
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicReference.java | 39 import java.util.function.UnaryOperator; 158 public final V getAndUpdate(UnaryOperator<V> updateFunction) { in getAndUpdate() 177 public final V updateAndGet(UnaryOperator<V> updateFunction) { in updateAndGet()
|
D | AtomicReferenceArray.java | 41 import java.util.function.UnaryOperator; 212 public final E getAndUpdate(int i, UnaryOperator<E> updateFunction) { in getAndUpdate() 233 public final E updateAndGet(int i, UnaryOperator<E> updateFunction) { in updateAndGet()
|
D | AtomicReferenceFieldUpdater.java | 44 import java.util.function.UnaryOperator; 206 public final V getAndUpdate(T obj, UnaryOperator<V> updateFunction) { in getAndUpdate() 226 public final V updateAndGet(T obj, UnaryOperator<V> updateFunction) { in updateAndGet()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | package-info.java | 740 import java.util.function.UnaryOperator;
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 150 … UnaryOperator<Consumer<T>> boxingAdapter, in testSpliterator() 200 UnaryOperator<Consumer<T>> boxingAdapter, in testForEach() 230 UnaryOperator<Consumer<T>> boxingAdapter, in testTryAdvance() 260 UnaryOperator<Consumer<T>> boxingAdapter, in testMixedTryAdvanceForEach() 291 UnaryOperator<Consumer<T>> boxingAdapter, in testMixedTraverseAndSplit() 334 UnaryOperator<Consumer<T>> boxingAdapter) { in testSplitAfterFullTraversal() 358 UnaryOperator<Consumer<T>> boxingAdapter, in testSplitOnce() 386 UnaryOperator<Consumer<T>> boxingAdapter, in testSplitSixDeep() 410 Spliterator spliterator, UnaryOperator boxingAdapter, in splitSixDeepVisitorUnsafe() 420 … List<T> dest, Spliterator<T> spliterator, UnaryOperator<Consumer<T>> boxingAdapter, in splitSixDeepVisitor() [all …]
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 150 … UnaryOperator<Consumer<T>> boxingAdapter, in testSpliterator() 200 UnaryOperator<Consumer<T>> boxingAdapter, in testForEach() 230 UnaryOperator<Consumer<T>> boxingAdapter, in testTryAdvance() 260 UnaryOperator<Consumer<T>> boxingAdapter, in testMixedTryAdvanceForEach() 291 UnaryOperator<Consumer<T>> boxingAdapter, in testMixedTraverseAndSplit() 334 UnaryOperator<Consumer<T>> boxingAdapter) { in testSplitAfterFullTraversal() 358 UnaryOperator<Consumer<T>> boxingAdapter, in testSplitOnce() 386 UnaryOperator<Consumer<T>> boxingAdapter, in testSplitSixDeep() 410 Spliterator spliterator, UnaryOperator boxingAdapter, in splitSixDeepVisitorUnsafe() 420 … List<T> dest, Spliterator<T> spliterator, UnaryOperator<Consumer<T>> boxingAdapter, in splitSixDeepVisitor() [all …]
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalAdjusters.java | 74 import java.util.function.UnaryOperator; 139 public static TemporalAdjuster ofDateAdjuster(UnaryOperator<LocalDate> dateBasedAdjuster) { in ofDateAdjuster()
|
/libcore/ojluni/src/main/java/java/util/ |
D | List.java | 28 import java.util.function.UnaryOperator; 433 default void replaceAll(UnaryOperator<E> operator) { in replaceAll()
|
D | Vector.java | 30 import java.util.function.UnaryOperator; 1320 public synchronized void replaceAll(UnaryOperator<E> operator) { in replaceAll()
|
D | ArrayList.java | 31 import java.util.function.UnaryOperator; 1453 public void replaceAll(UnaryOperator<E> operator) { in replaceAll()
|
D | ImmutableCollections.java | 37 import java.util.function.UnaryOperator; 107 @Override public void replaceAll(UnaryOperator<E> operator) { throw uoe(); } in replaceAll()
|
D | Collections.java | 39 import java.util.function.UnaryOperator; 1373 public void replaceAll(UnaryOperator<E> operator) { in replaceAll() 2507 public void replaceAll(UnaryOperator<E> operator) { 3541 public void replaceAll(UnaryOperator<E> operator) { 4526 public void replaceAll(UnaryOperator<E> operator) { 4886 public void replaceAll(UnaryOperator<E> operator) {
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | ListOfTest.java | 28 import java.util.function.UnaryOperator; 211 assertThrowsUoe(() -> { list.replaceAll(UnaryOperator.identity()); } ); in assertUnmodifiable()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 199 public void replaceAll(java.util.function.UnaryOperator<E> operator) { in replaceAll() 391 public void replaceAll(java.util.function.UnaryOperator<E> operator) { in replaceAll()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | ArrayList.annotated.java | 99 public void replaceAll(@libcore.util.NonNull java.util.function.UnaryOperator<@libcore.util.NullFro… in replaceAll()
|
D | Vector.annotated.java | 135 public synchronized void replaceAll(@libcore.util.NonNull java.util.function.UnaryOperator<@libcore… in replaceAll()
|
D | List.annotated.java | 60 public default void replaceAll(@libcore.util.NonNull java.util.function.UnaryOperator<@libcore.util… in replaceAll()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Vector.java | 262 public synchronized void replaceAll(java.util.function.UnaryOperator<E> operator) { in replaceAll()
|
D | ArrayList.java | 207 public void replaceAll(java.util.function.UnaryOperator<E> operator) { in replaceAll()
|
D | Arrays.java | 796 public void replaceAll(java.util.function.UnaryOperator<E> operator) { in replaceAll()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 52 import java.util.function.UnaryOperator; 863 public void replaceAll(UnaryOperator<E> operator) { in replaceAll() 1319 public void replaceAll(UnaryOperator<E> operator) { in replaceAll()
|