Searched defs:Type (Results 1 - 8 of 8) sorted by relevance

/libcore/luni/src/main/java/java/lang/reflect/
H A DType.java24 public interface Type { interface
/libcore/luni/src/main/java/java/net/
H A DProxy.java30 * Represents the proxy type setting {@code Proxy.Type.DIRECT}. It tells
36 private Proxy.Type type;
42 * {@code null} when {@code type} is either {@code Proxy.Type.HTTP} or
43 * {@code Proxy.Type.SOCKS}. To create a {@code Proxy} instance representing
44 * the proxy type {@code Proxy.Type.DIRECT}, use {@code Proxy.NO_PROXY}
53 * Proxy.Type.DIRECT} or the value for {@code SocketAddress} is
56 public Proxy(Proxy.Type type, SocketAddress sa) {
61 if (type == Type.DIRECT || sa == null) {
62 throw new IllegalArgumentException("Illegal Proxy.Type or SocketAddress argument");
73 type = Type
160 public enum Type { enum in class:Proxy
[all...]
/libcore/luni/src/main/java/java/security/
H A DKeyRep.java38 private final Type type;
64 public KeyRep(Type type, String algorithm, String format, byte[] encoded) {
84 * Resolves and returns the {@code Key} object. Three {@link Type}|format
87 * <li> {@code Type.PRIVATE} | "PKCS#8" : returns a {@link PrivateKey}
91 * <li> {@code Type.SECRET} | "RAW" : returns a {@link SecretKeySpec}
93 * <li> {@code Type.PUBLIC} | "X.509": returns a {@link PublicKey} instance,
101 * if the {@code Type}|format combination is not recognized, or
155 * {@code Type} enumerates the supported key types.
157 public static enum Type { enum in class:KeyRep
159 * Type fo
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DEqualsHashCodeBenchmark.java25 private enum Type { enum in class:EqualsHashCodeBenchmark
39 @Param Type type;
H A DAnnotatedElementBenchmark.java33 type = Type.class;
34 field = Type.class.getField("field");
35 method = Type.class.getMethod("method", String.class);
152 public class Type { class in class:AnnotatedElementBenchmark
/libcore/luni/src/main/java/java/util/
H A DMapEntry.java28 interface Type<RT, KT, VT> { interface in class:MapEntry
H A DWeakHashMap.java66 interface Type<R, K, V> { interface in class:WeakHashMap.Entry
122 final Entry.Type<R, K, V> type;
124 HashIterator(Entry.Type<R, K, V> type) {
334 new Entry.Type<Map.Entry<K, V>, K, V>() {
381 return new HashIterator<K>(new Entry.Type<K, K, V>() {
433 return new HashIterator<V>(new Entry.Type<V, K, V>() {
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DAnnotationsTest.java35 assertAnnotatedElement(Type.class, AnnotationA.class, AnnotationB.class);
43 Constructor<Type> constructor = Type.class.getConstructor();
48 Field field = Type.class.getField("field");
53 Method method = Type.class.getMethod("method", String.class, String.class);
58 Method method = Type.class.getMethod("method", String.class, String.class);
81 public static class Type { class in class:AnnotationsTest
82 @AnnotationA @AnnotationC public Type() {} method in class:AnnotationsTest.Type
88 public static class ExtendsType extends Type {}

Completed in 2995 milliseconds