/libcore/ojluni/src/main/java/java/util/ |
H A D | ListResourceBundle.java | 128 // lazily load the lookup hashtable. 129 if (lookup == null) { 135 return lookup.get(key); // this class ignores locales 147 // lazily load the lookup hashtable. 148 if (lookup == null) { 153 return new ResourceBundleEnumeration(lookup.keySet(), 167 if (lookup == null) { 170 return lookup.keySet(); 188 * We lazily load the lookup hashtable. This function does the 192 if (lookup ! 212 private volatile Map<String,Object> lookup = null; field in class:ListResourceBundle [all...] |
H A D | PropertyResourceBundle.java | 139 lookup = new HashMap(properties); 160 lookup = new HashMap(properties); 168 return lookup.get(key); 181 return new ResourceBundleEnumeration(lookup.keySet(), 195 return lookup.keySet(); 202 // was: private Map<String,Object> lookup; 203 private final Map<String,Object> lookup; field in class:PropertyResourceBundle
|
H A D | Locale.java | 279 * Language Tags</a> defines two mechanisms: filtering and lookup. 281 * <em>lookup</em> is to choose the best matching locale. 310 * <p>The lookup operation returns the best matching language tags. It is 318 * {@code "zh-Hant-TW"} and {@code "en-US"}, in prioritized order, lookup 333 * <p>{@code "*"} is the special language range, and it is ignored in lookup. 457 * lookup mechanism also implements this mapping, so that resources 2995 * @see #lookup 3406 * tag using the lookup mechanism defined in RFC 4647. 3418 public static Locale lookup(List<LanguageRange> priorityList, method in class:Locale 3420 return LocaleMatcher.lookup(priorityLis [all...] |
/libcore/ojluni/src/main/java/sun/util/resources/ |
H A D | OpenListResourceBundle.java | 77 return lookup.get(key); // this class ignores locales 97 return lookup.keySet(); 124 * Load lookup tables if they haven't been loaded already. 127 if (lookup == null) { 133 * We lazily load the lookup hashtable. This function does the 149 if (lookup == null) { 150 lookup = temp; 167 private volatile Map<String, Object> lookup = null; field in class:OpenListResourceBundle
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
H A D | MethodHandleImpl.java | 155 public <T extends Member> T reflectAs(Class<T> expected, MethodHandles.Lookup lookup) { argument 157 lookup.checkAccess(member.getDeclaringClass(), member.getDeclaringClass(),
|
H A D | MethodHandleInfo.java | 69 * {@linkplain java.lang.invoke.MethodHandles.Lookup#lookupClass() lookup class} 70 * of the lookup object used to create it. 71 * Cracking this method handle with a different lookup class will fail 74 * The requirement of lookup object matching provides a "fast fail" behavior 192 * The underlying member must be accessible to the given lookup object. 195 * @param lookup the lookup object that created this MethodHandleInfo, or one with equivalent access privileges 199 * @exception IllegalArgumentException if the underlying member is not accessible to the given lookup object 201 public <T extends Member> T reflectAs(Class<T> expected, Lookup lookup); argument
|
H A D | MethodHandles.java | 65 * Returns a {@link Lookup lookup object} with 68 * Factory methods on the lookup object can create 72 * This lookup object is a <em>capability</em> which may be delegated to trusted agents. 78 * For any given caller class {@code C}, the lookup object returned by this call 79 * has equivalent capabilities to any lookup object 83 * @return a lookup object for the caller of this method, with private access 87 public static Lookup lookup() { method in class:MethodHandles 93 * Returns a {@link Lookup lookup object} which is trusted minimally. 97 * As a matter of pure convention, the {@linkplain Lookup#lookupClass lookup class} 98 * of this lookup objec [all...] |
/libcore/ojluni/src/main/java/sun/util/locale/ |
H A D | LocaleMatcher.java | 180 public static Locale lookup(List<LanguageRange> priorityList, method in class:LocaleMatcher 211 // Special language range ("*") is ignored in lookup.
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
H A D | Charset.java | 328 // cache1/2 usage is explained in the lookup method 355 // those whose lookup or instantiation causes a security exception to be 489 private static Charset lookup(String charsetName) { method in class:Charset 540 return (lookup(charsetName) != null); 563 Charset cs = lookup(charsetName); 612 * forName} method, which instead employs an efficient incremental lookup
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | MulticastSocketTest.java | 44 private static InetAddress lookup(String s) { method in class:MulticastSocketTest 56 private static InetAddress GOOD_IPv4 = lookup("224.0.0.3"); 57 private static InetAddress BAD_IPv4 = lookup("224.0.0.4"); 58 private static InetAddress GOOD_IPv6 = lookup("ff05::7:7"); 59 private static InetAddress BAD_IPv6 = lookup("ff05::7:8");
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
H A D | MethodHandles.java | 36 public static Lookup lookup() { return null; } method in class:MethodHandles
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
H A D | MethodHandlesTest.java | 49 MethodHandles.Lookup defaultLookup = MethodHandles.lookup(); 55 MethodHandles.Lookup defaultLookup = MethodHandles.lookup(); 57 // A class in the same package loses the privilege to lookup protected and private 62 // The new lookup isn't in the same package, so it loses all its privileges except 68 MethodHandles.Lookup inner2 = Inner1.lookup.in(Inner2.class); 72 MethodHandles.lookup().in(null); 77 // Callers cannot change the lookup context to anything within the java.lang.invoke package. 79 MethodHandles.lookup().in(MethodHandle.class); 86 MethodHandles.Lookup defaultLookup = MethodHandles.lookup(); 100 // Package private in a public class in a different package from the lookup 271 public static final Lookup lookup = MethodHandles.lookup(); field in class:MethodHandlesTest.A 281 public static final Lookup lookup = MethodHandles.lookup(); field in class:MethodHandlesTest.B 285 public static final Lookup lookup = MethodHandles.lookup(); field in class:MethodHandlesTest.C 295 public static final Lookup lookup = MethodHandles.lookup(); field in class:MethodHandlesTest.D 299 public static final Lookup lookup = MethodHandles.lookup(); field in class:MethodHandlesTest.E 466 static final MethodHandles.Lookup lookup = MethodHandles.lookup(); field in class:MethodHandlesTest.BarImpl 642 public static final Lookup lookup = MethodHandles.lookup(); field in class:MethodHandlesTest.UnreflectTester 1291 public static MethodHandles.Lookup lookup() { method in class:MethodHandlesTest.VariableArityTester 1967 public static MethodHandles.Lookup lookup = MethodHandles.lookup(); field in class:MethodHandlesTest.Inner1 [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | DatagramChannelMulticastTest.java | 49 private static InetAddress lookup(String s) { method in class:DatagramChannelMulticastTest 60 private static final InetAddress GOOD_MULTICAST_IPv4 = lookup("239.255.0.1"); 61 private static final InetAddress BAD_MULTICAST_IPv4 = lookup("239.255.0.2"); 62 private static final InetAddress GOOD_MULTICAST_IPv6 = lookup("ff05::7:7"); 63 private static final InetAddress BAD_MULTICAST_IPv6 = lookup("ff05::7:8"); 66 private static final InetAddress WILDCARD_IPv4 = lookup("0.0.0.0"); 67 private static final InetAddress WILDCARD_IPv6 = lookup("::"); 71 private static final InetAddress UNICAST_IPv4_1 = lookup("192.168.1.1"); 72 private static final InetAddress UNICAST_IPv4_2 = lookup("192.168.1.2"); 73 private static final InetAddress UNICAST_IPv6_1 = lookup("200 [all...] |
/libcore/ojluni/src/main/java/java/io/ |
H A D | ObjectOutputStream.java | 1050 } else if ((handle = handles.lookup(str)) != -1) { 1136 if ((obj = subs.lookup(obj)) == null) { 1139 } else if (!unshared && (h = handles.lookup(obj)) != -1) { 1164 desc = ObjectStreamClass.lookup(cl, true); 1172 desc = ObjectStreamClass.lookup(cl, true); 1179 desc = ObjectStreamClass.lookup(cl, true); 1185 desc = ObjectStreamClass.lookup(cl, true); 1193 desc = ObjectStreamClass.lookup(cl, true); 1204 } else if (!unshared && (h = handles.lookup(obj)) != -1) { 1269 writeClassDesc(ObjectStreamClass.lookup(c 2389 int lookup(Object obj) { method in class:ObjectOutputStream.HandleTable 2498 Object lookup(Object obj) { method in class:ObjectOutputStream.ReplaceTable [all...] |
H A D | ObjectStreamClass.java | 60 * loaded in this Java VM can be found/created using the lookup method. 129 * ObjectStreamClass.lookup() (see 4461737) 220 public static ObjectStreamClass lookup(Class<?> cl) { method in class:ObjectStreamClass 221 return lookup(cl, false); 233 return lookup(cl, true); 330 static ObjectStreamClass lookup(Class<?> cl, boolean all) { method in class:ObjectStreamClass 367 * for future value to be set by a lookup() call further up the 385 // nested lookup call already set future 402 * Placeholder used in class descriptor and field reflector lookup tables 405 * of a lookup shoul [all...] |