/libcore/ojluni/src/main/java/java/nio/channels/ |
D | AsynchronousSocketChannel.java | 324 public abstract <A> void connect(SocketAddress remote, in connect() 325 A attachment, in connect() 326 CompletionHandler<Void,? super A> handler); in connect() 401 public abstract <A> void read(ByteBuffer dst, in read() 404 A attachment, in read() 405 CompletionHandler<Integer,? super A> handler); in read() 416 public final <A> void read(ByteBuffer dst, in read() 417 A attachment, in read() 418 CompletionHandler<Integer,? super A> handler) in read() 509 public abstract <A> void read(ByteBuffer[] dsts, in read() [all …]
|
D | AsynchronousFileChannel.java | 457 public abstract <A> void lock(long position, in lock() 460 A attachment, in lock() 461 CompletionHandler<FileLock,? super A> handler); in lock() 491 public final <A> void lock(A attachment, in lock() 492 CompletionHandler<FileLock,? super A> handler) in lock() 676 public abstract <A> void read(ByteBuffer dst, in read() 678 A attachment, in read() 679 CompletionHandler<Integer,? super A> handler); in read() 742 public abstract <A> void write(ByteBuffer src, in write() 744 A attachment, in write() [all …]
|
D | AsynchronousByteChannel.java | 108 <A> void read(ByteBuffer dst, in read() 109 A attachment, in read() 110 CompletionHandler<Integer,? super A> handler); in read() 187 <A> void write(ByteBuffer src, in write() 188 A attachment, in write() 189 CompletionHandler<Integer,? super A> handler); in write()
|
D | CompletionHandler.java | 45 public interface CompletionHandler<V,A> { 55 void completed(V result, A attachment); in completed() 65 void failed(Throwable exc, A attachment); in failed()
|
D | AsynchronousServerSocketChannel.java | 285 public abstract <A> void accept(A attachment, in accept() 286 CompletionHandler<AsynchronousSocketChannel,? super A> handler); in accept()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | Invoker.java | 120 static <V,A> void invokeUnchecked(CompletionHandler<V,? super A> handler, in invokeUnchecked() 121 A attachment, in invokeUnchecked() 153 static <V,A> void invokeDirect(GroupAndInvokeCount myGroupAndInvokeCount, in invokeDirect() 154 CompletionHandler<V,? super A> handler, in invokeDirect() 155 A attachment, in invokeDirect() 168 static <V,A> void invoke(AsynchronousChannel channel, in invoke() 169 CompletionHandler<V,? super A> handler, in invoke() 170 A attachment, in invoke() 208 static <V,A> void invokeIndirectly(AsynchronousChannel channel, in invokeIndirectly() 209 final CompletionHandler<V,? super A> handler, in invokeIndirectly() [all …]
|
D | AsynchronousFileChannelImpl.java | 106 abstract <A> Future<FileLock> implLock(long position, in implLock() 109 A attachment, in implLock() 110 CompletionHandler<FileLock,? super A> handler); in implLock() 122 public final <A> void lock(long position, in lock() 125 A attachment, in lock() 126 CompletionHandler<FileLock,? super A> handler) in lock() 211 abstract <A> Future<Integer> implRead(ByteBuffer dst, in implRead() 213 A attachment, in implRead() 214 CompletionHandler<Integer,? super A> handler); in implRead() 222 public final <A> void read(ByteBuffer dst, in read() [all …]
|
D | AsynchronousSocketChannelImpl.java | 193 abstract <A> Future<Void> implConnect(SocketAddress remote, in implConnect() 194 A attachment, in implConnect() 195 CompletionHandler<Void,? super A> handler); in implConnect() 203 public final <A> void connect(SocketAddress remote, in connect() 204 A attachment, in connect() 205 CompletionHandler<Void,? super A> handler) in connect() 215 abstract <V extends Number,A> Future<V> implRead(boolean isScatteringRead, in implRead() 220 A attachment, in implRead() 221 CompletionHandler<V,? super A> handler); in implRead() 224 private <V extends Number,A> Future<V> read(boolean isScatteringRead, in read() [all …]
|
D | PendingFuture.java | 37 final class PendingFuture<V,A> implements Future<V> { 42 private final CompletionHandler<V,? super A> handler; 43 private final A attachment; 60 CompletionHandler<V,? super A> handler, in PendingFuture() 61 A attachment, in PendingFuture() 71 CompletionHandler<V,? super A> handler, in PendingFuture() 72 A attachment) in PendingFuture() 91 CompletionHandler<V,? super A> handler() { in handler() 95 A attachment() { in attachment()
|
D | SimpleAsynchronousFileChannelImpl.java | 173 <A> Future<FileLock> implLock(final long position, in implLock() 176 final A attachment, in implLock() 177 final CompletionHandler<FileLock,? super A> handler) in implLock() 194 final PendingFuture<FileLock,A> result = (handler == null) ? in implLock() 195 new PendingFuture<FileLock,A>(this) : null; in implLock() 288 <A> Future<Integer> implRead(final ByteBuffer dst, in implRead() 290 final A attachment, in implRead() 291 final CompletionHandler<Integer,? super A> handler) in implRead() 309 final PendingFuture<Integer,A> result = (handler == null) ? in implRead() 310 new PendingFuture<Integer,A>(this) : null; in implRead() [all …]
|
D | UnixAsynchronousSocketChannelImpl.java | 311 <A> Future<Void> implConnect(SocketAddress remote, in implConnect() 312 A attachment, in implConnect() 313 CompletionHandler<Void,? super A> handler) in implConnect() 353 PendingFuture<Void,A> result = null; in implConnect() 356 result = new PendingFuture<Void,A>(this, OpType.CONNECT); in implConnect() 495 <V extends Number,A> Future<V> implRead(boolean isScatteringRead, in implRead() 500 A attachment, in implRead() 501 CompletionHandler<V,? super A> handler) in implRead() 537 PendingFuture<V,A> result = null; in implRead() 544 result = new PendingFuture<V,A>(this, OpType.READ); in implRead() [all …]
|
/libcore/luni/src/test/java/libcore/libcore/reflect/ |
D | ParameterizedTypeRegressionTest.java | 39 class A<X> { class in ParameterizedTypeRegressionTest 100 Type actual = new ParameterizedClass<A<Integer>>() { in testNested1() 105 A.class, in testNested1() 116 Type actual = new ParameterizedClass<A<Integer>.B<Float>>() { in testNested2() 122 A.class, in testNested2() 124 A.B.class, in testNested2() 136 Type actual = new ParameterizedClass<A<Integer>.B<Float>.C1<String>>() { in testNested3() 143 A.class, in testNested3() 145 A.B.class, in testNested3() 147 A.B.C1.class, in testNested3() [all …]
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collectors.java | 147 static class CollectorImpl<T, A, R> implements Collector<T, A, R> { 148 private final Supplier<A> supplier; 149 private final BiConsumer<A, T> accumulator; 150 private final BinaryOperator<A> combiner; 151 private final Function<A, R> finisher; 154 CollectorImpl(Supplier<A> supplier, in CollectorImpl() 155 BiConsumer<A, T> accumulator, in CollectorImpl() argument 156 BinaryOperator<A> combiner, in CollectorImpl() 157 Function<A,R> finisher, in CollectorImpl() argument 166 CollectorImpl(Supplier<A> supplier, in CollectorImpl() [all …]
|
D | Collector.java | 197 public interface Collector<T, A, R> { 203 Supplier<A> supplier(); in supplier() 210 BiConsumer<A, T> accumulator(); in accumulator() 220 BinaryOperator<A> combiner(); in combiner() 233 Function<A, R> finisher(); in finisher() 291 public static<T, A, R> Collector<T, A, R> of(Supplier<A> supplier, in of() 292 BiConsumer<A, T> accumulator, in of() argument 293 BinaryOperator<A> combiner, in of() 294 Function<A, R> finisher, in of() argument
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ClassLoaderReflectionTest.java | 66 assertEquals(aClass.getName(), A.class.getName()); in testLoadOneClassInTwoClassLoadersSimultaneously() 67 assertNotSame(aClass, A.class); in testLoadOneClassInTwoClassLoadersSimultaneously() 128 assertFalse(A.class.equals(aClass)); in testClassesOfDifferentClassLoadersAreNotEqual() 132 Constructor<?> c1 = A.class.getDeclaredConstructor(); in testConstructorsOfDifferentClassLoadersAreNotEqual() 149 static class A {} class in ClassLoaderReflectionTest 153 static class C<K extends String, V extends A> {} 155 class E implements Callable<A>, D<A> { 156 public A call() throws Exception { in call() 162 List<A> listA; 163 F(B<String> parameter, List<A> anotherParameter) {} in F() [all …]
|
D | ReflectionTest.java | 83 assertEquals(getClass().getName() + "$A", A.class.getName()); in testClassGetName() 94 assertEquals(getClass().getName() + ".A", A.class.getCanonicalName()); in testClassGetCanonicalName() 132 Constructor constructorOne = C.class.getDeclaredConstructor(A.class); in testConstructorToString() 146 Method methodOne = C.class.getDeclaredMethod("methodOne", A.class, C.class); in testMethodToString() 160 Method methodThree = C.class.getDeclaredMethod("methodThree", A.class, Set.class); in testMethodToString() 310 A methodLevelAnonymous = new A() {}; in testIsLocalClass() 314 assertFalse(A.class.isLocalClass()); in testIsLocalClass() 325 A methodLevelAnonymous = new A() {}; in testIsAnonymousClass() 329 assertFalse(A.class.isAnonymousClass()); in testIsAnonymousClass() 362 static class A {} class in ReflectionTest [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationTestClass.java | 46 interface A extends java.io.Serializable { interface in SerializationTestClass 52 interface C extends A { 58 public static class TestInterfacesA implements A { 61 public static class TestInterfacesAB implements A, B { 64 public static class TestInterfacesBA implements B, A { 70 public static class TestInterfacesCA implements C, A { 73 public static class TestInterfacesABC implements A, B, C { 76 public static class TestInterfacesACB implements A, C, B { 79 public static class TestInterfacesBAC implements B, A, C { 82 public static class TestInterfacesBCA implements B, C, A { [all …]
|
D | ObjectInputStream2Test.java | 81 assertTrue("should construct super", A.list.contains(b)); in test_readObject_Hierarchy() 83 assertEquals("super field A.s", A.DEFAULT, ((A) b).s); in test_readObject_Hierarchy() 126 static class A { class in ObjectInputStream2Test 127 static final ArrayList<A> list = new ArrayList<A>(); 131 public A() { in A() method in ObjectInputStream2Test.A 137 static class B extends A implements Serializable { 139 static final ArrayList<A> list = new ArrayList<A>();
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldAndroidInstanceofTest.java | 23 protected A mA; 34 mA = new A(); in setUp() 44 A a = mA; in testNoInterface() 114 private static class A { class in OldAndroidInstanceofTest 117 …private static class ChildOfAOne extends A implements InterfaceOne, InterfaceTwo, InterfaceThree, …
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Package.java | 402 public <A extends Annotation> A getAnnotation(Class<A> annotationClass) { in getAnnotation() 421 public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationClass) { in getAnnotationsByType() 437 public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass) { in getDeclaredAnnotation() 446 public <A extends Annotation> A[] getDeclaredAnnotationsByType(Class<A> annotationClass) { in getDeclaredAnnotationsByType()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Class.annotated.java | 170 public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationCla… in getAnnotation() 174 public <A extends java.lang.annotation.Annotation> A[] getAnnotationsByType(java.lang.Class<A> anno… in getAnnotationsByType() 178 public native <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation(java.lang.Class<A… in getDeclaredAnnotation()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxFileSystemProvider.java | 99 public <A extends BasicFileAttributes> A readAttributes(Path file, in readAttributes() 100 Class<A> type, in readAttributes()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ParameterizedTypeTest.java | 28 static class A<T>{} class in ParameterizedTypeTest 29 static class B extends A<String>{} 36 String aName = A.class.getName(); in testStringParameterizedSuperClass() 42 assertEquals(A.class, parameterizedType.getRawType()); in testStringParameterizedSuperClass()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | TestData.java | 59 default <A extends Collection<? super T>> A into(A target) { in into() 299 public <A extends Collection<? super Integer>> A into(A target) { in into() 324 public <A extends Collection<? super Long>> A into(A target) { in into() 349 public <A extends Collection<? super Double>> A into(A target) { in into()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | TestData.java | 60 default <A extends Collection<? super T>> A into(A target) { in into() 300 public <A extends Collection<? super Integer>> A into(A target) { in into() 325 public <A extends Collection<? super Long>> A into(A target) { in into() 350 public <A extends Collection<? super Double>> A into(A target) { in into()
|