/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | RC2Cipher.java | 78 protected void engineInit(int opmode, Key key, SecureRandom random) argument 81 core.init(opmode, key, random); 84 protected void engineInit(int opmode, Key key, argument 93 core.init(opmode, key, params, random); 96 protected void engineInit(int opmode, Key key, argument 103 engineInit(opmode, key, rc2Params, random); 110 core.init(opmode, key, params, random); 134 protected int engineGetKeySize(Key key) throws InvalidKeyException { argument 135 byte[] keyBytes = CipherCore.getKeyBytes(key); 136 RC2Crypt.checkKey(key 140 engineWrap(Key key) 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...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/schemagen/ |
H A D | MultiMap.java | 32 * A special {@link Map} that 'conceptually' stores a set of values for each key. 49 public V put(K key, V value) { argument 50 V old = super.put(key, value); 53 super.put(key,many);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/util/ |
H A D | Bark.java | 43 /** The context key for the bark. */ 122 * @param key The key for the localized error message. 125 public void aptError(String key, Object... args) { argument 126 aptError(Position.NOPOS, key, args); 132 * @param key The key for the localized error message. 135 public void aptError(int pos, String key, Object ... args) { argument 136 report(aptDiags.error(source, new SimpleDiagnosticPosition(pos), key, args)); 141 * @param key Th 144 aptWarning(String key, Object... args) argument 154 aptWarning(int pos, String key, Object ... args) argument 162 aptNote(String key, Object... args) argument 171 aptNote(int pos, String key, Object ... args) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | UIAction.java | 72 public Object getValue(String key) { argument 73 if (key == NAME) { 80 public void putValue(String key, Object value) { argument
|
/openjdk7/jdk/src/share/classes/sun/util/resources/ |
H A D | TimeZoneNamesBundle.java | 52 * <li>Inserts the time zone ID (the key of the bundle entries) into 64 * <li>The time zone ID (same as the key, not localized). 74 public Object handleGetObject(String key) { argument 75 String[] contents = (String[]) super.handleGetObject(key); 82 tmpobj[0] = key; 97 * Provides key/value mappings for a specific 101 * <li>The key, which must be a string.
|
/openjdk7/jdk/test/sun/management/ |
H A D | AgentCheckTest.java | 53 String key = testStrings[ii][0]; 56 String ss = Agent.getText(key, p1, p2); 57 if (ss.startsWith("missing resource key")) { 59 System.out.println(" lookup failed for key = " + key);
|
/openjdk7/jdk/src/share/classes/java/beans/ |
H A D | WeakIdentityMap.java | 34 * An entry will automatically be removed when its key is no longer 35 * in ordinary use. Both null values and the null key are supported. 43 private static final Object NULL = new Object(); // special object for null key 49 private int size = 0; // the number of key-value mappings 51 public T get(Object key) { argument 53 if (key == null) { 54 key = NULL; 56 int hash = key.hashCode(); 59 if (entry.isMatched(key, hash)) { 66 public T put(Object key, argument 170 Entry(Object key, int hash, T value, ReferenceQueue<Object> queue, Entry<T> next) argument 177 isMatched(Object key, int hash) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | KeyUtil.java | 44 * A utility class to get key length, valiate keys, etc. 49 * Returns the key size of the given key object in bits. 51 * @param key the key object, cannot be null 52 * @return the key size of the given key object in bits, or -1 if the 53 * key size is not accessible 55 public static final int getKeySize(Key key) { argument 58 if (key instanceo 108 validate(Key key) argument [all...] |
H A D | Cache.java | 32 * Abstract base class and factory for caches. A cache is a key-value mapping. 91 public abstract void put(Object key, Object value); argument 96 public abstract Object get(Object key); argument 101 public abstract void remove(Object key); argument 218 public void put(Object key, Object value) { argument 222 public Object get(Object key) { argument 226 public void remove(Object key) { argument 286 Object key = entry.getKey(); 287 if (key == null) { 288 // key i 352 put(Object key, Object value) argument 377 get(Object key) argument 394 remove(Object key) argument 451 newEntry(Object key, Object value, long expirationTime, ReferenceQueue queue) argument 474 private Object key, value; field in class:MemoryCache.HardCacheEntry 477 HardCacheEntry(Object key, Object value, long expirationTime) argument 509 private Object key; field in class:MemoryCache.SoftCacheEntry 512 SoftCacheEntry(Object key, Object value, long expirationTime, ReferenceQueue queue) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | UIDefaults.java | 116 * key/value pairs. For example: 125 * @param keyValueList an array of objects containing the key/value 136 * Returns the value for key. If the value is a 145 * If the key is not found in the table then it is searched for in the list 152 * @param key the desired key 153 * @return the value for <code>key</code> 161 public Object get(Object key) { argument 162 Object value = getFromHashtable( key ); 163 return (value != null) ? value : getFromResourceBundle(key, nul 170 getFromHashtable(Object key) argument 264 get(Object key, Locale l) argument 272 getFromResourceBundle(Object key, Locale l) argument 345 put(Object key, Object value) argument 387 getFont(Object key) argument 404 getFont(Object key, Locale l) argument 417 getColor(Object key) argument 434 getColor(Object key, Locale l) argument 448 getIcon(Object key) argument 465 getIcon(Object key, Locale l) argument 479 getBorder(Object key) argument 496 getBorder(Object key, Locale l) argument 510 getString(Object key) argument 526 getString(Object key, Locale l) argument 538 getInt(Object key) argument 554 getInt(Object key, Locale l) argument 569 getBoolean(Object key) argument 586 getBoolean(Object key, Locale l) argument 600 getInsets(Object key) argument 617 getInsets(Object key, Locale l) argument 631 getDimension(Object key) argument 648 getDimension(Object key, Locale l) argument 1250 get(Object key) argument 1313 composeKey(String key, int reduce, String sufix) argument [all...] |
H A D | ArrayTable.java | 34 * Private storage mechanism for Action key-value pairs. 36 * key-value pairs. As it grows larger it is scaled 53 * The data is saved as an integer indicating how many key/value 54 * pairs are being archived, followed by the the key/value pairs. If 73 Object key = keys[counter]; 76 if ( (key instanceof Serializable 77 && table.get(key) instanceof Serializable) 80 (key instanceof ClientPropertyKey 81 && ((ClientPropertyKey)key).getReportValueNotSerializable())) { 88 // Write ou the Serializable key/valu 108 put(Object key, Object value) argument 144 get(Object key) argument 180 containsKey(Object key) argument 202 remove(Object key) argument [all...] |
/openjdk7/jaxp/src/org/w3c/dom/ |
H A D | UserDataHandler.java | 45 * When associating an object to a key on a node using 88 * @param key Specifies the key for which this handler is being called. 96 String key, 95 handle(short operation, String key, Object data, Node src, Node dst) argument
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/util/ |
H A D | RepositoryIdCache.java | 71 Object key = keys.nextElement(); 75 cache.remove(key); 95 public final synchronized RepositoryId getId(String key) { argument 96 RepositoryId repId = (RepositoryId)super.get(key); 101 //repId = pool.popId().init(key); 102 repId = new RepositoryId(key); 103 put(key, repId);
|
/openjdk7/jdk/src/share/classes/sun/applet/ |
H A D | AppletSecurityException.java | 35 private String key = null; field in class:AppletSecurityException 40 this.key = name; 58 return amh.getMessage(key, msgobj); 60 return amh.getMessage(key);
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Map.java | 30 * each key can map to at most one value. 37 * or set of key-value mappings. The <i>order</i> of a map is defined as 46 * object is a key in the map. A special case of this prohibition is that it 47 * is not permissible for a map to contain itself as a key. While it is 55 * which creates a new map with the same key-value mappings as its argument. 73 * to insert an ineligible key or value throws an unchecked exception, 75 * Attempting to query the presence of an ineligible key or value may throw an 78 * attempting an operation on an ineligible key or value whose completion 91 * containsKey(Object key)} method says: "returns <tt>true</tt> if and 92 * only if this map contains a mapping for a key <t 153 containsKey(Object key) argument 200 get(Object key) argument 228 put(K key, V value) argument 260 remove(Object key) argument [all...] |
/openjdk7/jdk/src/macosx/native/sun/osxapp/ |
H A D | PropertiesUtilities.m | 30 + (NSString *) javaSystemPropertyForKey:(NSString *)key withEnv:(JNIEnv *)env { 34 jstring jKey = JNFNSToJavaString(env, key);
|
/openjdk7/jdk/test/java/nio/channels/SelectionKey/ |
H A D | RacyRegister.java | 54 SelectionKey key = null; 56 key = sc.register(sel, SelectionKey.OP_READ); 63 // if we have a key then it should be invalid 64 if (key != null && key.isValid())
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/ |
H A D | NullEType.java | 73 public byte[] encrypt(byte[] data, byte[] key, int usage) { argument 79 public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) { argument 85 public byte[] decrypt(byte[] cipher, byte[] key, int usage) argument 90 public byte[] decrypt(byte[] cipher, byte[] key, byte[] ivec, int usage) argument
|
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | DSAKeyFactory.java | 48 * This class implements the DSA key factory of the Sun provider. 60 private static final String SERIAL_PROP = "sun.security.key.serial.interop"; 67 * a key object serialized in JDK 5.0 must be deserializable in 82 * Generates a public key object from the provided key specification 83 * (key material). 85 * @param keySpec the specification (key material) of the public key 87 * @return the public key 89 * @exception InvalidKeySpecException if the given key specificatio 178 engineGetKeySpec(Key key, Class<T> keySpec) argument 256 engineTranslateKey(Key key) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/javac/ |
H A D | CompilerMember.java | 47 String key; field in class:CompilerMember 62 if (key==null) 63 key = name+sig; 64 return key;
|
/openjdk7/jdk/test/java/util/Locale/ |
H A D | HashCodeTest.java | 44 Integer key = new Integer(hc); 45 if (map.containsKey(key)) { 47 System.out.println("conflict: " + (Locale) map.get(key) + ", " + loc); 49 map.put(key, loc);
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/ |
H A D | AugmentationsImpl.java | 33 * information is identified by a String key. 44 * Add additional information identified by a key to the Augmentations structure. 46 * @param key Identifier, can't be <code>null</code> 49 * @return the previous value of the specified key in the Augmentations strucutre, 52 public Object putItem (String key, Object item){ argument 53 Object oldValue = fAugmentationsContainer.putItem(key, item); 64 * Get information identified by a key from the Augmentations structure 66 * @param key Identifier, can't be <code>null</code> 68 * @return the value to which the key is mapped in the Augmentations structure; 69 * <code>null</code> if the key i 71 getItem(String key) argument 81 removeItem(String key) argument 105 putItem(Object key, Object item) argument 106 getItem(Object key) argument 107 removeItem(Object key) argument 123 getItem(Object key) argument 133 putItem(Object key, Object item) argument 151 removeItem(Object key) argument 245 getItem(Object key) argument 249 putItem(Object key, Object item) argument 253 removeItem(Object key) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ |
H A D | RequestContext.java | 260 public Object get(Object key) { argument 261 if(super.supports(key)) 262 return super.get(key); 264 return others.get(key); 270 public Object put(String key, Object value) { argument 271 if(super.supports(key)) 272 return super.put(key,value); 274 return others.put(key,value); 319 String key = entry.getKey(); 320 if(packet.supports(key)) 364 containsKey(Object key) argument 372 get(Object key) argument 380 put(String key, Object value) argument 387 remove(Object key) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WDesktopProperties.java | 111 private synchronized void setBooleanProperty(String key, boolean value) { argument 112 assert( key != null ); 114 log.fine(key + "=" + String.valueOf(value)); 116 map.put(key, Boolean.valueOf(value)); 122 private synchronized void setIntegerProperty(String key, int value) { argument 123 assert( key != null ); 125 log.fine(key + "=" + String.valueOf(value)); 127 map.put(key, Integer.valueOf(value)); 133 private synchronized void setStringProperty(String key, String value) { argument 134 assert( key ! 144 setColorProperty(String key, int r, int g, int b) argument 167 setFontProperty(String key, String name, int style, int size) argument 191 setSoundProperty(String key, String winEventName) argument [all...] |