Searched refs:after (Results 1 - 25 of 37) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/function/
H A DConsumer.java53 * 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 DDoubleConsumer.java53 * 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 DIntConsumer.java53 * 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 DLongConsumer.java53 * 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 DBiConsumer.java57 * 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 DBiFunction.java57 * 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 DDoubleUnaryOperator.java71 * 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 DIntUnaryOperator.java71 * 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 DLongUnaryOperator.java71 * 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 DFunction.java73 * 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/main/java/java/util/
H A DLinkedHashMap.java71 * in an access to the corresponding entry (assuming it exists after the
124 * <em>fail-fast</em>: if the map is structurally modified at any time after
261 header.before = header.after = header;
272 for (LinkedHashMapEntry<K,V> e = header.after; e != header; e = e.after) {
291 for (LinkedHashMapEntry e = header.after; e != header; e = e.after)
295 for (LinkedHashMapEntry e = header.after; e != header; e = e.after)
327 * The map will be empty after thi
339 LinkedHashMapEntry<K,V> before, after; field in class:LinkedHashMap.LinkedHashMapEntry
[all...]
H A DSimpleTimeZone.java77 * <li><b>Day of week on or after day of month</b><br>
78 * To specify a day of week on or after an exact day of month, set the
80 * or after which the rule is applied, and <em>day-of-week</em> to a negative {@link
417 * Sets the daylight saving time start rule to a weekday before or after the given date within
418 * a month, e.g., the first Monday on or after the 8th.
427 * @param after If true, this rule selects the first <code>dayOfWeek</code> on or
428 * <em>after</em> <code>dayOfMonth</code>. If false, this rule
436 int startTime, boolean after)
439 if (after) {
499 * Sets the daylight saving time end rule to a weekday before or after th
435 setStartRule(int startMonth, int startDay, int startDayOfWeek, int startTime, boolean after) argument
518 setEndRule(int endMonth, int endDay, int endDayOfWeek, int endTime, boolean after) argument
[all...]
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DTeeOpTest.java80 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/ojluni/src/main/java/sun/net/www/http/
H A DKeepAliveStreamCleaner.java103 long after = System.currentTimeMillis();
104 long elapsed = after - before;
110 before = after;
/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldLogRecordTest.java38 long after = lr2.getMillis();
39 assertTrue(after-before>0);
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DLoggingTestCase.java51 public void after(ITestResult result) { method in class:LoggingTestCase
H A DOpTestCase.java259 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 DLoggingTestCase.java51 public void after(ITestResult result) { method in class:LoggingTestCase
H A DOpTestCase.java260 Consumer<TestData<T, S_IN>> after = LambdaTestHelpers.bEmpty; field in class:OpTestCase.ExerciseDataStreamBuilder
324 public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> after(Consumer<TestData<T, S_IN>> after) { argument
325 this.after = Objects.requireNonNull(after);
383 after.accept(data);
411 after.accept(data);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DCalendarTest.java263 // 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 DDateTest.java111 * 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 DJSONTokener.java170 * Advances the position until after the next newline character. If the line
378 throw syntaxError("Expected ':' after " + name);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DObjectTest.java301 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 DProcessManagerTest.java191 int after = countLines(process);
194 assertEquals(before, after);
/libcore/ojluni/src/main/java/sun/security/x509/
H A DCertificateValidity.java112 * @param notAfter the date and time after which the certificate is
265 * because someone could override the Date methods after()
268 if (notBefore.after(now)) {

Completed in 2984 milliseconds

12