/libcore/ojluni/src/main/java/java/util/function/ |
H A D | Consumer.java | 53 * operation followed by the {@code after} operation. If performing either 56 * the {@code after} operation will not be performed. 58 * @param after the operation to perform after this operation 60 * operation followed by the {@code after} operation 61 * @throws NullPointerException if {@code after} is null 63 default Consumer<T> andThen(Consumer<? super T> after) { argument 64 Objects.requireNonNull(after); 65 return (T t) -> { accept(t); after.accept(t); };
|
H A D | DoubleConsumer.java | 53 * operation followed by the {@code after} operation. If performing either 56 * the {@code after} operation will not be performed. 58 * @param after the operation to perform after this operation 60 * operation followed by the {@code after} operation 61 * @throws NullPointerException if {@code after} is null 63 default DoubleConsumer andThen(DoubleConsumer after) { argument 64 Objects.requireNonNull(after); 65 return (double t) -> { accept(t); after.accept(t); };
|
H A D | IntConsumer.java | 53 * operation followed by the {@code after} operation. If performing either 56 * the {@code after} operation will not be performed. 58 * @param after the operation to perform after this operation 60 * operation followed by the {@code after} operation 61 * @throws NullPointerException if {@code after} is null 63 default IntConsumer andThen(IntConsumer after) { argument 64 Objects.requireNonNull(after); 65 return (int t) -> { accept(t); after.accept(t); };
|
H A D | LongConsumer.java | 53 * operation followed by the {@code after} operation. If performing either 56 * the {@code after} operation will not be performed. 58 * @param after the operation to perform after this operation 60 * operation followed by the {@code after} operation 61 * @throws NullPointerException if {@code after} is null 63 default LongConsumer andThen(LongConsumer after) { argument 64 Objects.requireNonNull(after); 65 return (long t) -> { accept(t); after.accept(t); };
|
H A D | BiConsumer.java | 57 * operation followed by the {@code after} operation. If performing either 60 * the {@code after} operation will not be performed. 62 * @param after the operation to perform after this operation 64 * operation followed by the {@code after} operation 65 * @throws NullPointerException if {@code after} is null 67 default BiConsumer<T, U> andThen(BiConsumer<? super T, ? super U> after) { argument 68 Objects.requireNonNull(after); 72 after.accept(l, r);
|
H A D | BiFunction.java | 57 * its input, and then applies the {@code after} function to the result. 61 * @param <V> the type of output of the {@code after} function, and of the 63 * @param after the function to apply after this function is applied 65 * applies the {@code after} function 66 * @throws NullPointerException if after is null 68 default <V> BiFunction<T, U, V> andThen(Function<? super R, ? extends V> after) { argument 69 Objects.requireNonNull(after); 70 return (T t, U u) -> after.apply(apply(t, u));
|
H A D | DoubleUnaryOperator.java | 71 * its input, and then applies the {@code after} operator to the result. 75 * @param after the operator to apply after this operator is applied 77 * applies the {@code after} operator 78 * @throws NullPointerException if after is null 82 default DoubleUnaryOperator andThen(DoubleUnaryOperator after) { argument 83 Objects.requireNonNull(after); 84 return (double t) -> after.applyAsDouble(applyAsDouble(t));
|
H A D | IntUnaryOperator.java | 71 * its input, and then applies the {@code after} operator to the result. 75 * @param after the operator to apply after this operator is applied 77 * applies the {@code after} operator 78 * @throws NullPointerException if after is null 82 default IntUnaryOperator andThen(IntUnaryOperator after) { argument 83 Objects.requireNonNull(after); 84 return (int t) -> after.applyAsInt(applyAsInt(t));
|
H A D | LongUnaryOperator.java | 71 * its input, and then applies the {@code after} operator to the result. 75 * @param after the operator to apply after this operator is applied 77 * applies the {@code after} operator 78 * @throws NullPointerException if after is null 82 default LongUnaryOperator andThen(LongUnaryOperator after) { argument 83 Objects.requireNonNull(after); 84 return (long t) -> after.applyAsLong(applyAsLong(t));
|
H A D | Function.java | 73 * its input, and then applies the {@code after} function to the result. 77 * @param <V> the type of output of the {@code after} function, and of the 79 * @param after the function to apply after this function is applied 81 * applies the {@code after} function 82 * @throws NullPointerException if after is null 86 default <V> Function<T, V> andThen(Function<? super R, ? extends V> after) { argument 87 Objects.requireNonNull(after); 88 return (T t) -> after.apply(apply(t));
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
H A D | TeeOpTest.java | 80 void after(TestData<T, ?> td) { method in class:TeeOpTest.AbstractRecordingConsumer 100 .after(b::after) 116 .after(b::after) 132 .after(b::after) 148 .after(b::after)
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
H A D | OldLogRecordTest.java | 38 long after = lr2.getMillis(); 39 assertTrue(after-before>0);
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | LinkedHashMap.java | 69 * in an access to the corresponding entry (assuming it exists after the 123 * <em>fail-fast</em>: if the map is structurally modified at any time after 208 * the doubly-linked before/after list. This class also 217 LinkedHashMapEntry<K,V> before, after; field in class:LinkedHashMap.LinkedHashMapEntry 253 last.after = p; 261 LinkedHashMapEntry<K,V> a = dst.after = src.after; 265 b.after = dst; 309 (LinkedHashMapEntry<K,V>)e, b = p.before, a = p.after; 310 p.before = p.after [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/ |
H A D | TCKZoneOffsetTransitionSerialization.java | 100 LocalDateTime after = LocalDateTime.of(2010, 3, 31, 2, 0); 108 LocalDateTime after = LocalDateTime.of(2010, 10, 31, 0, 0);
|
/libcore/ojluni/src/main/java/java/time/zone/ |
H A D | ZoneOffsetTransition.java | 115 * The offset after transition. 129 * @param offsetAfter the offset at and after the transition, not null 152 * @param offsetAfter the offset at and after the transition, not null 165 * @param offsetAfter the offset at and after the transition, not null 227 ZoneOffset after = Ser.readOffset(in); 228 if (before.equals(after)) { 231 return new ZoneOffsetTransition(epochSecond, before, after); 239 * instant that the 'after' offset applies. 264 * At this instant, the 'after' offset is actually used, therefore the combination of this 268 * as the 'after' dat [all...] |
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
H A D | LoggingTestCase.java | 51 public void after(ITestResult result) { method in class:LoggingTestCase
|
H A D | OpTestCase.java | 259 Consumer<TestData<T, S_IN>> after = LambdaTestHelpers.bEmpty; field in class:OpTestCase.ExerciseDataStreamBuilder 323 public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> after(Consumer<TestData<T, S_IN>> after) { argument 324 this.after = Objects.requireNonNull(after); 382 after.accept(data); 410 after.accept(data);
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
H A D | LoggingTestCase.java | 51 public void after(ITestResult result) { method in class:LoggingTestCase
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | CalendarTest.java | 263 // DAY/MONTH has priority when DATE set after DAY_OF_YEAR 272 // DAY_OF_YEAR has priority when set after DATE 361 // Ensure last date field set is reset after computing 487 * java.util.Calendar#after(Object) 499 // test after(); 500 assertTrue(late.after(early)); 501 assertFalse(late.after(late)); 502 assertFalse(early.after(late)); 511 // test after(); 512 assertTrue(late.after(earl [all...] |
H A D | DateTest.java | 111 * java.util.Date#after(java.util.Date) 114 // Test for method boolean java.util.Date.after(java.util.Date) 117 assertTrue("Older was returned as newer", d2.after(d1)); 118 assertTrue("Newer was returned as older", !d1.after(d2)); 121 d1.after(null); 518 * method is called after a test is executed.
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONTokener.java | 170 * Advances the position until after the next newline character. If the line 378 throw syntaxError("Expected ':' after " + name);
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
H A D | TCKZoneOffsetTransition.java | 120 LocalDateTime after = LocalDateTime.of(2010, 3, 31, 2, 0); 125 assertEquals(test.getDateTimeAfter(), after); 135 LocalDateTime after = LocalDateTime.of(2010, 10, 31, 0, 0); 140 assertEquals(test.getDateTimeAfter(), after);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | ObjectTest.java | 301 long after = System.currentTimeMillis(); 302 long error = (after - before - delay); 310 toLong[count][2] = after; 321 sb.append(" after: "); 374 assertTrue("Thread did not wake after 1 ms. (status = "
|
H A D | ProcessManagerTest.java | 192 int after = countLines(process); 195 assertEquals(before, after);
|
/libcore/metrictests/memory/host/src/libcore/heapmetrics/ |
H A D | LibcoreHeapMetricsTest.java | 141 private void recordSizeDeltaMetric(String name, Size before, Size after) { argument 142 recordBytesMetric(name, after.getSize() - before.getSize());
|