Searched defs:accept (Results 1 - 25 of 53) sorted by relevance

123

/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 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);
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); };
/libcore/ojluni/src/main/java/java/nio/file/
H A DDirectoryStream.java145 boolean accept(T entry) throws IOException; method in interface:DirectoryStream.Filter
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DUnixSelectorTest.java43 public void accept() { method in class:UnixSelectorTest.Server
47 while (serverChannel.accept() == null) {
72 // after bind can not accept
74 server.accept();
H A DMockServerSocketChannel.java42 public SocketChannel accept() throws IOException { method in class:MockServerSocketChannel
/libcore/ojluni/src/main/java/java/nio/channels/
H A DServerSocketChannel.java41 * open but not yet bound. An attempt to invoke the {@link #accept() accept}
234 * java.net.ServerSocket#accept accept} method of the {@link
250 * while the accept operation is in progress
254 * while the accept operation is in progress, thereby
269 public abstract SocketChannel accept() throws IOException; method in class:ServerSocketChannel
H A DAsynchronousServerSocketChannel.java42 * the {@link #accept(Object,CompletionHandler) accept} method
44 * An attempt to invoke the <tt>accept</tt> method on an unbound channel will
48 * though at most one accept operation can be outstanding at any time.
49 * If a thread initiates an accept operation before a previous accept operation
77 * listener.accept(null, new CompletionHandler&lt;AsynchronousSocketChannel,Void&gt;() {
79 * // accept the next connection
80 * listener.accept(null, this);
245 * <p> This method initiates an asynchronous operation to accept
285 public abstract <A> void accept(A attachment, method in class:AsynchronousServerSocketChannel
306 public abstract Future<AsynchronousSocketChannel> accept(); method in class:AsynchronousServerSocketChannel
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DDoubleSummaryStatistics.java38 * DoubleSummaryStatistics::accept,
83 public void accept(double value) { method in class:DoubleSummaryStatistics
H A DIntSummaryStatistics.java38 * IntSummaryStatistics::accept,
83 public void accept(int value) { method in class:IntSummaryStatistics
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/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 DFindOps.java177 public void accept(T value) { method in class:FindOps.FindSink
201 public void accept(int value) { method in class:FindOps.FindSink.OfInt
203 accept((Integer) value);
216 public void accept(long value) { method in class:FindOps.FindSink.OfLong
218 accept((Long) value);
231 public void accept(double value) { method in class:FindOps.FindSink.OfDouble
233 accept((Double) value);
H A DForEachOps.java183 public void accept(T t) { method in class:ForEachOps.ForEachOp.OfRef
184 consumer.accept(t);
204 public void accept(int t) { method in class:ForEachOps.ForEachOp.OfInt
205 consumer.accept(t);
225 public void accept(long t) { method in class:ForEachOps.ForEachOp.OfLong
226 consumer.accept(t);
246 public void accept(double t) { method in class:ForEachOps.ForEachOp.OfDouble
247 consumer.accept(t);
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DFileDescriptorHolderSocketImpl.java87 protected void accept(SocketImpl s) throws IOException { method in class:FileDescriptorHolderSocketImpl
H A DServerSocketAdaptor.java94 public Socket accept() throws IOException { method in class:ServerSocketAdaptor
100 SocketChannel sc = ssc.accept();
109 if ((sc = ssc.accept()) != null)
117 if (result > 0 && ((sc = ssc.accept()) != null))
H A DAsynchronousServerSocketChannelImpl.java63 // set true when accept operation is cancelled
115 * Invoked by accept to accept connection
123 public final Future<AsynchronousSocketChannel> accept() { method in class:AsynchronousServerSocketChannelImpl
129 public final <A> void accept(A attachment, method in class:AsynchronousServerSocketChannelImpl
/libcore/luni/src/test/java/libcore/java/net/
H A DOldSocketImplFactoryTest.java120 protected void accept(SocketImpl arg0) throws IOException { method in class:OldSocketImplFactoryTest.MockSocketImpl

Completed in 206 milliseconds

123