Searched refs:accept (Results 1 - 25 of 206) sorted by relevance

123456789

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DCookiePolicyTest.java36 boolean accept;
39 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(null, cookie);
40 assertTrue(accept);
42 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(null, null);
43 assertTrue(accept);
45 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(uri, null);
46 assertTrue(accept);
49 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(null, cookie);
50 assertFalse(accept);
52 accept
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DFileFilter.java49 boolean accept(File pathname); method in interface:FileFilter
H A DFilenameFilter.java52 boolean accept(File dir, String name); method in interface:FilenameFilter
/libcore/ojluni/src/main/java/java/util/function/
H A DObjDoubleConsumer.java35 * whose functional method is {@link #accept(Object, double)}.
51 void accept(T t, double value); method in interface:ObjDoubleConsumer
H A DObjIntConsumer.java35 * whose functional method is {@link #accept(Object, int)}.
51 void accept(T t, int value); method in interface:ObjIntConsumer
H A DObjLongConsumer.java35 * whose functional method is {@link #accept(Object, long)}.
51 void accept(T t, long value); method in interface:ObjLongConsumer
H A DConsumer.java35 * whose functional method is {@link #accept(Object)}.
49 void accept(T t); method in interface:Consumer
65 return (T t) -> { accept(t); after.accept(t); };
H A DDoubleConsumer.java36 * whose functional method is {@link #accept(double)}.
49 void accept(double value); method in interface:DoubleConsumer
65 return (double t) -> { accept(t); after.accept(t); };
H A DIntConsumer.java36 * whose functional method is {@link #accept(int)}.
49 void accept(int value); method in interface:IntConsumer
65 return (int t) -> { accept(t); after.accept(t); };
H A DLongConsumer.java36 * whose functional method is {@link #accept(long)}.
49 void accept(long value); method in interface:LongConsumer
65 return (long t) -> { accept(t); after.accept(t); };
H A DBiConsumer.java36 * whose functional method is {@link #accept(Object, Object)}.
53 void accept(T t, U u); method in interface:BiConsumer
71 accept(l, r);
72 after.accept(l, r);
/libcore/ojluni/src/main/java/java/util/stream/
H A DSink.java36 * control flow, etc. Before calling the {@code accept()} method on a
41 * {@code accept()} without again calling {@code begin()}. {@code Sink} also
51 * {@code accept()} are only valid in the active state.
73 * points for {@code accept(Object)}, {@code accept(int)}, etc, so that we do
81 * the correct {@code accept} method on its downstream {@code Sink}. Similarly,
82 * each stage must implement the correct {@code accept} method corresponding to
86 * {@code accept(Object)} to call the appropriate primitive specialization of
87 * {@code accept}, implement the appropriate primitive specialization of
89 * {@code accept}
159 default void accept(int value) { method in interface:Sink
170 default void accept(long value) { method in interface:Sink
181 default void accept(double value) { method in interface:Sink
192 void accept(int value); method in interface:Sink.OfInt
195 default void accept(Integer i) { method in interface:Sink.OfInt
209 void accept(long value); method in interface:Sink.OfLong
212 default void accept(Long i) { method in interface:Sink.OfLong
226 void accept(double value); method in interface:Sink.OfDouble
229 default void accept(Double i) { method in interface:Sink.OfDouble
[all...]
H A DStreams.java89 consumer.accept(i);
94 consumer.accept(i);
110 consumer.accept(i++);
114 consumer.accept(i);
214 consumer.accept(i);
219 consumer.accept(i);
235 consumer.accept(i++);
239 consumer.accept(i);
358 public void accept(T t) { method in class:Streams.StreamBuilderImpl
366 buffer.accept(firs
454 public void accept(int t) { method in class:Streams.IntStreamBuilderImpl
545 public void accept(long t) { method in class:Streams.LongStreamBuilderImpl
636 public void accept(double t) { method in class:Streams.DoubleStreamBuilderImpl
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DPrimitiveIterator.java106 * action.accept(nextInt());
115 action.accept(nextInt());
146 // The method reference action::accept is never null
149 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfInt.forEachRemainingInt(action::accept)");
150 forEachRemaining((IntConsumer) action::accept);
180 * action.accept(nextLong());
189 action.accept(nextLong());
220 // The method reference action::accept is never null
223 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfLong.forEachRemainingLong(action::accept)");
224 forEachRemaining((LongConsumer) action::accept);
[all...]
H A DIterator.java106 * action.accept(next());
116 action.accept(next());
H A DLongSummaryStatistics.java39 * LongSummaryStatistics::accept,
84 public void accept(int value) { method in class:LongSummaryStatistics
85 accept((long) value);
94 public void accept(long value) { method in class:LongSummaryStatistics
/libcore/luni/src/test/java/libcore/java/util/
H A DDoubleSummaryStatisticsTest.java37 dss.accept(100.5d);
40 dss.accept(45.0d);
65 dss1.accept(Double.NaN);
73 dss1.accept(Double.NaN);
81 dss1.accept(Double.NaN);
89 dss1.accept(Double.NaN);
96 dss.accept(value);
104 dss.accept(value);
H A DLongSummaryStatisticsTest.java39 lss.accept(100L);
42 lss.accept(250L);
47 lss.accept(50);
50 lss.accept(200);
95 lss.accept(value);
103 lss.accept(value);
H A DIntSummaryStatisticsTest.java37 iss.accept(5);
40 iss.accept(10);
85 iss.accept(value);
93 iss.accept(value);
/libcore/ojluni/src/main/java/java/nio/file/
H A DDirectoryStream.java145 boolean accept(T entry) throws IOException; method in interface:DirectoryStream.Filter
/libcore/luni/src/test/java/libcore/java/util/function/
H A DBiConsumerTest.java30 one.andThen(two).accept("z", sb);
34 two.andThen(one).accept("z", sb);
H A DConsumerTest.java30 sweet.andThen(dude).accept(sb);
34 dude.andThen(sweet).accept(sb);
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/
H A DNullArgsTestCase.java53 sink.accept(args);
62 sink.accept(temp);
/libcore/ojluni/src/main/java/java/lang/
H A DCharSequence.java149 block.accept(charAt(cur));
189 block.accept(c1);
194 block.accept(Character.toCodePoint(c1, c2));
196 block.accept(c1);
H A DIterable.java66 * action.accept(t);
76 action.accept(t);

Completed in 1010 milliseconds

123456789