/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | AttributeMap.java | 69 public Object put(TextAttribute key, Object value) { argument 70 return delegate().put(key, value);
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Dictionary.java | 31 * Every key and every value is an object. In any one <tt>Dictionary</tt> 32 * object, every key is associated with at most one value. Given a 33 * <tt>Dictionary</tt> and a key, the associated element can be looked up. 34 * Any non-<code>null</code> object can be used as a key and as a value. 100 * Returns the value to which the key is mapped in this dictionary. 102 * dictionary contains an entry for the specified key, the associated 105 * @return the value to which the key is mapped in this dictionary; 106 * @param key a key in this dictionary. 107 * <code>null</code> if the key i 112 get(Object key) argument 141 put(K key, V value) argument 154 remove(Object key) argument [all...] |
H A D | MissingResourceException.java | 58 * @param key the key for the missing resource. 60 public MissingResourceException(String s, String className, String key) { argument 63 this.key = key; 68 * <code>message</code>, <code>className</code>, <code>key</code>, 76 * @param key 77 * the key for the missing resource. 84 MissingResourceException(String message, String className, String key, Throwable cause) { argument 87 this.key 123 private String key; field in class:MissingResourceException [all...] |
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | ConcurrentMap.java | 45 * {@code ConcurrentMap} as a key or value 61 * If the specified key is not already associated 65 * if (!map.containsKey(key)) 66 * return map.put(key, value); 68 * return map.get(key);</pre> 71 * @param key key with which the specified value is to be associated 72 * @param value value to be associated with the specified key 73 * @return the previous value associated with the specified key, or 74 * <tt>null</tt> if there was no mapping for the key 88 putIfAbsent(K key, V value) argument 112 remove(Object key, Object value) argument 137 replace(K key, V oldValue, V newValue) argument 164 replace(K key, V value) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/prefs/ |
H A D | PreferenceChangeEvent.java | 52 private String key; field in class:PreferenceChangeEvent 65 * @param key The key of the preference that was changed. 69 public PreferenceChangeEvent(Preferences node, String key, argument 72 this.key = key; 86 * Returns the key of the preference that was changed. 88 * @return The key of the preference that was changed. 91 return key;
|
/openjdk7/jdk/src/share/classes/javax/accessibility/ |
H A D | AccessibleBundle.java | 39 * for a locale independent key from a predefined ResourceBundle for the 64 protected String key = null; field in class:AccessibleBundle 67 * Obtains the key as a localized string. 68 * If a localized string cannot be found for the key, the 69 * locale independent key stored in the role will be returned. 76 * @return a localized String for the key. 88 o = resourceTable.get(key); 94 return key; 98 * Obtains the key as a localized string. 99 * If a localized string cannot be found for the key, th [all...] |
H A D | AccessibleRelationSet.java | 96 // Merge the relation targets if the key exists 177 * that matches the specified key. 178 * @param key the AccessibleRelation key 181 public boolean contains(String key) { argument 182 return get(key) != null; 186 * Returns the relation that matches the specified key. 187 * @param key the AccessibleRelation key 188 * @return the relation, if one exists, that matches the specified key 191 get(String key) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | ExemptionMechanismSpi.java | 65 * Initializes this exemption mechanism with a key. 68 * that cannot be derived from the given <code>key</code>, the underlying 74 * @param key the key for this exemption mechanism 76 * @exception InvalidKeyException if the given key is inappropriate for 81 protected abstract void engineInit(Key key) argument 85 * Initializes this exemption mechanism with a key and a set of algorithm 95 * @param key the key for this exemption mechanism 98 * @exception InvalidKeyException if the given key i 105 engineInit(Key key, AlgorithmParameterSpec params) argument 130 engineInit(Key key, AlgorithmParameters params) argument [all...] |
H A D | KeyAgreementSpi.java | 36 * of a particular key agreement algorithm. 40 * key generators (<code>KeyPairGenerator</code> or 42 * an intermediate phase of the key agreement protocol 45 * <p> For each of the correspondents in the key exchange, 47 * needs to be called. For example, if the key exchange is with one other 50 * If the key exchange is 54 * There may be any number of parties involved in a key exchange. 66 * Initializes this key agreement with the given key and source of 67 * randomness. The given key i 85 engineInit(Key key, SecureRandom random) argument 104 engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) argument 127 engineDoPhase(Key key, boolean lastPhase) argument [all...] |
H A D | MacSpi.java | 57 * Initializes the MAC with the given (secret) key and algorithm 60 * @param key the (secret) key. 63 * @exception InvalidKeyException if the given key is inappropriate for 68 protected abstract void engineInit(Key key, argument 126 * maintaining the secret key that the MAC was initialized with. 133 * Resets the MAC for further use, maintaining the secret key that the
|
/openjdk7/jdk/src/share/classes/javax/crypto/spec/ |
H A D | DESKeySpec.java | 31 * This class specifies a DES key. 40 * The constant which defines the length of a DES key in bytes. 44 private byte[] key; field in class:DESKeySpec 50 * each is both a key and a dual giving 12 keys with duals. The last 117 * <code>key</code> as the key material for the DES key. 119 * <p> The bytes that constitute the DES key are those between 120 * <code>key[0]</code> and <code>key[ 130 DESKeySpec(byte[] key) argument 153 DESKeySpec(byte[] key, int offset) argument 186 isParityAdjusted(byte[] key, int offset) argument 219 isWeak(byte[] key, int offset) argument [all...] |
H A D | SecretKeySpec.java | 34 * This class specifies a secret key in a provider-independent fashion. 41 * a byte array and have no key parameters associated with them, e.g., DES or 55 * The secret key. 59 private byte[] key; field in class:SecretKeySpec 62 * The name of the algorithm associated with this key. 69 * Constructs a secret key from the given byte array. 72 * secret key of the specified algorithm. For example, if the algorithm is 73 * DES, this constructor does not check if <code>key</code> is 8 bytes 76 * <i>key specification</i> class (in this case: 80 * @param key th 91 SecretKeySpec(byte[] key, String algorithm) argument 140 SecretKeySpec(byte[] key, int offset, int len, String algorithm) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/util/ |
H A D | CacheMap.java | 67 public V put(K key, V value) { argument 68 cache(key); 69 return super.put(key, value); 72 public V get(Object key) { argument 73 cache(Util.<K>cast(key)); 74 return super.get(key); 85 private void cache(K key) { argument 92 else if (key.equals(key1)) { 107 cache.add(0, new SoftReference<K>(key)); 112 is the most-recently referenced key [all...] |
/openjdk7/jdk/src/share/classes/com/sun/script/util/ |
H A D | BindingsImpl.java | 39 //get method delegates to global if key is not defined in 58 public Object get(Object key) { argument 59 checkKey(key); 62 if ((local != null) && (null != (ret = local.get(key)))) { 66 ret = getImpl((String)key); 71 return global.get(key); 77 public Object remove(Object key) { argument 78 checkKey(key); 79 Object ret = get(key); 81 removeImpl((String)key); [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | MenuShortcut.java | 35 * the accelerator key) would be created with code like the following: 53 * The accelerator key is platform-dependent and may be obtained 76 int key; field in class:MenuShortcut 79 * Indicates whether the shft key was pressed. 80 * If true, the shift key was pressed. 81 * If false, the shift key was not pressed 96 * @param key the raw keycode for this MenuShortcut, as would be returned 98 * this key were pressed. 101 public MenuShortcut(int key) { argument 102 this(key, fals 114 MenuShortcut(int key, boolean useShiftModifier) argument [all...] |
/openjdk7/hotspot/src/share/vm/ci/ |
H A D | ciConstantPoolCache.cpp | 65 int ciConstantPoolCache::find(int key) { argument 72 if (value < key) { 74 } else if (value > key) {
|
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/ |
H A D | Generator.java | 89 private static String get(final Map<String, String> defaults, final String key, final String defaultValue) { argument 90 final String value = defaults.get(key);
|
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | CipherWithWrappingSpi.java | 63 * Wrap a key. 65 * @param key the key to be wrapped. 67 * @return the wrapped key. 71 * encoding of the key to be wrapped is not a 75 * wrap the key with this cipher (e.g., a hardware protected key is 78 protected final byte[] engineWrap(Key key) argument 84 byte[] encodedKey = key.getEncoded(); 87 "the key t [all...] |
H A D | DESKeyGenerator.java | 38 * This class generates a DES key. 55 * Initializes this key generator. 64 * Initializes this key generator with the specified parameter 67 * @param params the key generation parameters 68 * @param random the source of randomness for this key generator 71 * inappropriate for this key generator 77 ("DES key generation does not take any parameters"); 81 * Initializes this key generator for a certain keysize, using the given 86 * @param random the source of randomness for this key generator 97 * Generates the DES key 137 setParityBit(byte[] key, int offset) argument [all...] |
H A D | DHKeyFactory.java | 44 * This class implements the Diffie-Hellman key factory of the Sun provider. 58 * Generates a public key object from the provided key specification 59 * (key material). 61 * @param keySpec the specification (key material) of the public key 63 * @return the public key 65 * @exception InvalidKeySpecException if the given key specification 66 * is inappropriate for this key factory to produce a public key 143 engineGetKeySpec(Key key, Class keySpec) argument 199 engineTranslateKey(Key key) argument [all...] |
H A D | PBKDF2HmacSHA1Factory.java | 38 * This class implements a key factory for PBE keys derived using 54 * Generates a <code>SecretKey</code> object from the provided key 55 * specification (key material). 57 * @param keySpec the specification (key material) of the secret key 59 * @return the secret key 61 * @exception InvalidKeySpecException if the given key specification 62 * is inappropriate for this key factory to produce a public key. 68 throw new InvalidKeySpecException("Invalid key spe 91 engineGetKeySpec(SecretKey key, Class keySpecCl) argument 123 engineTranslateKey(SecretKey key) argument [all...] |
H A D | SymmetricCipher.java | 59 * Initializes the cipher in the specified mode with the given key. 63 * @param key the key 65 * @exception InvalidKeyException if the given key is inappropriate for 68 abstract void init(boolean decrypting, String algorithm, byte[] key) argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/istack/internal/localization/ |
H A D | LocalizableMessage.java | 37 public LocalizableMessage(String bundlename, String key, Object... args) { argument 39 _key = key;
|
H A D | LocalizableMessageFactory.java | 39 public Localizable getMessage(String key, Object... args) { argument 40 return new LocalizableMessage(_bundlename, key, args);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/amx/ |
H A D | AMXUtil.java | 75 public static String prop(final String key, final String value) argument 77 return key + "=" + value;
|