/openjdk7/jdk/src/share/classes/sun/util/resources/ |
H A D | OpenListResourceBundle.java | 69 public Object handleGetObject(String key) { argument 70 if (key == null) { 75 return lookup.get(key); // this class ignores locales 128 // key must be non-null String, value must be non-null 129 String key = (String) contents[i][0]; 131 if (key == null || value == null) { 134 temp.put(key, value);
|
/openjdk7/jdk/test/java/security/KeyFactory/ |
H A D | Failover.java | 125 engineGetKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException argument 131 protected Key engineTranslateKey(Key key) throws InvalidKeyException { argument 150 protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException { argument 155 protected Key engineTranslateKey(Key key) throws InvalidKeyException { argument
|
/openjdk7/jdk/test/java/security/Provider/ |
H A D | SupportsParameter.java | 98 private static void checkSupports(Service s, Key key, boolean r) throws Exception { argument 99 if (s.supportsParameter(key) != r) {
|
/openjdk7/jdk/test/java/util/Hashtable/ |
H A D | ReadObject.java | 57 public Object get(Object key) { argument 58 ValueWrapper valueWrapper = (ValueWrapper)super.get(key); 65 public Object put(Object key, Object value) { argument 70 super.put(key, valueWrapper); 97 myHashtable.put("key", "value"); 99 String value = (String)myHashtableCopy.get("key");
|
/openjdk7/jdk/test/java/util/ResourceBundle/ |
H A D | KeySetTest.java | 58 for (String key : fullKeys) { 59 if (!rb.containsKey(key)) { 60 throw new RuntimeException("rb doesn't contain: " + key); 63 for (String key : new String[] { "snack", "beer" }) { 64 if (rb.containsKey(key)) { 65 throw new RuntimeException("rb contains: " + key); 102 protected Object handleGetObject(String key) { argument 104 return m.invoke(bundle, key);
|
/openjdk7/jdk/test/javax/crypto/spec/DESKeySpec/ |
H A D | CheckParity.java | 60 static private void check(String alg, byte [] key, argument 66 if (DESKeySpec.isParityAdjusted(key, 0)) { 72 throw new Exception("encoded key is not the expected key");
|
/openjdk7/jdk/test/javax/swing/MultiUIDefaults/4331767/ |
H A D | bug4331767.java | 61 public Object get(Object key) { argument 62 if ("ButtonUI".equals(key)) { 66 return defaults.get(key); 69 public Object get(Object key, Locale l) { argument 70 if ("ButtonUI".equals(key)) { 74 return defaults.get(key, l);
|
/openjdk7/jdk/test/sun/net/www/httptest/ |
H A D | ClosedChannelList.java | 34 SelectionKey key; field in class:ClosedChannelList.Element 35 Element (long l, SelectionKey key) { argument 37 this.key = key; 49 public synchronized void add (SelectionKey key) { argument 51 list.add (new Element (exp, key)); 68 SelectionKey k = elm.key;
|
/openjdk7/jdk/src/share/classes/sun/management/jdp/ |
H A D | JdpPacketWriter.java | 33 * <p>This class assembles a set of key/value pairs to valid JDP packet, 72 * Put key/value pair to packet 74 * @param key - key to put (utf-8 encoded) 78 public void addEntry(String key, String val) argument 80 /* Silently skip key if value is null. 81 * We don't need to distinguish between key missing 82 * and key has no value cases 85 addEntry(key);
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | JavaAWTAccess.java | 32 public Object get(Object context, Object key); argument 33 public void put(Object context, Object key, Object value); argument 34 public void remove(Object context, Object key); argument 37 public Object get(Object key); argument 38 public void put(Object key, Object value); argument 39 public void remove(Object key); argument
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | MembershipRegistry.java | 57 for (MembershipKeyImpl key: keys) { 58 if (key.networkInterface().equals(interf)) { 60 // existing key or detect conflict 62 if (key.sourceAddress() == null) 63 return key; 67 // already have source-specific membership so return key 69 if (key.sourceAddress() == null) 71 if (source.equals(key.sourceAddress())) 72 return key; 81 * Add membership to the registry, returning a new membership key 83 add(MembershipKeyImpl key) argument 102 remove(MembershipKeyImpl key) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/newrmic/ |
H A D | Resources.java | 63 * Returns the text of the rmic resource for the specified key 66 public static String getText(String key, String... args) { argument 67 String format = getString(key); 69 format = "missing resource key: key = \"" + key + "\", " + 76 * Returns the rmic resource string for the specified key. 78 private static String getString(String key) { argument 81 return resourcesExt.getString(key); 87 return resources.getString(key); [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XCreateWindowParams.java | 47 public XCreateWindowParams putIfNull(Object key, Object value) { argument 48 if (!containsKey(key)) { 49 put(key, value); 53 public XCreateWindowParams putIfNull(Object key, int value) { argument 54 if (!containsKey(key)) { 55 put(key, Integer.valueOf(value)); 59 public XCreateWindowParams putIfNull(Object key, long value) { argument 60 if (!containsKey(key)) { 61 put(key, Long.valueOf(value)); 66 public XCreateWindowParams add(Object key, Objec argument 70 add(Object key, int value) argument 74 add(Object key, long value) argument 78 delete(Object key) argument [all...] |
/openjdk7/langtools/test/tools/javac/generics/ |
H A D | ExtendedRaw2.java | 40 int binarySearch(List<T> list, T key) { argument 44 int binarySearch(List<T> list, T key, Comparator<T> c) { argument
|
/openjdk7/jdk/test/sun/security/pkcs11/ec/ |
H A D | TestKeyFactory.java | 42 * Test that key1 (reference key) and key2 (key to be tested) are 70 private static void testPublic(KeyFactory kf, PublicKey key) throws Exception { argument 71 System.out.println("Testing public key..."); 72 PublicKey key2 = (PublicKey)kf.translateKey(key); 73 KeySpec keySpec = kf.getKeySpec(key, ECPublicKeySpec.class); 75 KeySpec x509Spec = kf.getKeySpec(key, X509EncodedKeySpec.class); 77 KeySpec x509Spec2 = new X509EncodedKeySpec(key.getEncoded()); 79 testKey(key, key); 86 testPrivate(KeyFactory kf, PrivateKey key) argument 102 test(KeyFactory kf, Key key) argument [all...] |
/openjdk7/jdk/test/sun/security/pkcs11/rsa/ |
H A D | TestKeyFactory.java | 54 * Test that key1 (reference key) and key2 (key to be tested) are 78 private static void testPublic(KeyFactory kf, PublicKey key) throws Exception { argument 79 System.out.println("Testing public key..."); 80 PublicKey key2 = (PublicKey)kf.translateKey(key); 81 KeySpec rsaSpec = kf.getKeySpec(key, RSAPublicKeySpec.class); 83 KeySpec x509Spec = kf.getKeySpec(key, X509EncodedKeySpec.class); 85 KeySpec x509Spec2 = new X509EncodedKeySpec(key.getEncoded()); 87 testKey(key, key); 94 testPrivate(KeyFactory kf, PrivateKey key) argument 119 test(KeyFactory kf, Key key) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ |
H A D | MultiHashtable.java | 35 public Object put(Object key, Object value) { argument 36 Vector vector = (Vector)get(key); 38 super.put(key, vector = new Vector());
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/ |
H A D | XMLMessageFormatter.java | 59 * @param key The message key. 67 * specified key cannot be found. 69 public String formatMessage(Locale locale, String key, Object[] arguments) argument 85 msg = fResourceBundle.getString(key); 92 msg += " " + fResourceBundle.getString(key); 100 throw new MissingResourceException(key, msg, key); 105 msg = key;
|
H A D | XMLMessageFormatter_de.java | 61 * @param key The message key. 69 * specified key cannot be found. 71 public String formatMessage(Locale locale, String key, Object[] arguments) argument 87 msg = fResourceBundle.getString(key); 94 msg += " " + fResourceBundle.getString(key); 102 throw new MissingResourceException(key, msg, key); 107 msg = key;
|
H A D | XMLMessageFormatter_es.java | 61 * @param key The message key. 69 * specified key cannot be found. 71 public String formatMessage(Locale locale, String key, Object[] arguments) argument 87 msg = fResourceBundle.getString(key); 94 msg += " " + fResourceBundle.getString(key); 102 throw new MissingResourceException(key, msg, key); 107 msg = key;
|
H A D | XMLMessageFormatter_fr.java | 61 * @param key The message key. 69 * specified key cannot be found. 71 public String formatMessage(Locale locale, String key, Object[] arguments) argument 87 msg = fResourceBundle.getString(key); 94 msg += " " + fResourceBundle.getString(key); 102 throw new MissingResourceException(key, msg, key); 107 msg = key;
|
H A D | XMLMessageFormatter_it.java | 61 * @param key The message key. 69 * specified key cannot be found. 71 public String formatMessage(Locale locale, String key, Object[] arguments) argument 87 msg = fResourceBundle.getString(key); 94 msg += " " + fResourceBundle.getString(key); 102 throw new MissingResourceException(key, msg, key); 107 msg = key;
|
H A D | XMLMessageFormatter_ja.java | 61 * @param key The message key. 69 * specified key cannot be found. 71 public String formatMessage(Locale locale, String key, Object[] arguments) argument 87 msg = fResourceBundle.getString(key); 94 msg += " " + fResourceBundle.getString(key); 102 throw new MissingResourceException(key, msg, key); 107 msg = key;
|
H A D | XMLMessageFormatter_ko.java | 61 * @param key The message key. 69 * specified key cannot be found. 71 public String formatMessage(Locale locale, String key, Object[] arguments) argument 87 msg = fResourceBundle.getString(key); 94 msg += " " + fResourceBundle.getString(key); 102 throw new MissingResourceException(key, msg, key); 107 msg = key;
|
H A D | XMLMessageFormatter_pt_BR.java | 61 * @param key The message key. 69 * specified key cannot be found. 71 public String formatMessage(Locale locale, String key, Object[] arguments) argument 87 msg = fResourceBundle.getString(key); 94 msg += " " + fResourceBundle.getString(key); 102 throw new MissingResourceException(key, msg, key); 107 msg = key;
|