Searched refs:key (Results 126 - 150 of 1411) sorted by relevance

1234567891011>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/
H A DResponseContext.java69 @SuppressWarnings({"SuspiciousMethodCalls"}) // IDE doesn't like me calling Map methods with key typed as Object
86 public boolean containsKey(Object key) { argument
87 if(packet.supports(key))
88 return packet.containsKey(key); // strongly typed
90 if(packet.invocationProperties.containsKey(key))
92 return !packet.getHandlerScopePropertyNames(true).contains(key);
97 public Object get(Object key) { argument
98 if(packet.supports(key))
99 return packet.get(key); // strongly typed
101 if(packet.getHandlerScopePropertyNames(true).contains(key))
120 put(String key, Object value) argument
125 remove(Object key) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/swing/
H A DDefaultLookup.java92 public static Object get(JComponent c, ComponentUI ui, String key) { argument
99 return UIManager.get(key, c.getLocale());
125 return lookup.getDefault(c, ui, key);
131 public static int getInt(JComponent c, ComponentUI ui, String key, argument
133 Object iValue = get(c, ui, key);
141 public static int getInt(JComponent c, ComponentUI ui, String key) { argument
142 return getInt(c, ui, key, -1);
145 public static Insets getInsets(JComponent c, ComponentUI ui, String key, argument
147 Object iValue = get(c, ui, key);
155 public static Insets getInsets(JComponent c, ComponentUI ui, String key) { argument
159 getBoolean(JComponent c, ComponentUI ui, String key, boolean defaultValue) argument
169 getBoolean(JComponent c, ComponentUI ui, String key) argument
173 getColor(JComponent c, ComponentUI ui, String key, Color defaultValue) argument
183 getColor(JComponent c, ComponentUI ui, String key) argument
187 getIcon(JComponent c, ComponentUI ui, String key, Icon defaultValue) argument
196 getIcon(JComponent c, ComponentUI ui, String key) argument
200 getBorder(JComponent c, ComponentUI ui, String key, Border defaultValue) argument
209 getBorder(JComponent c, ComponentUI ui, String key) argument
213 getDefault(JComponent c, ComponentUI ui, String key) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DAbstractMap.java130 * for an entry with the specified key. If such an entry is found,
139 public boolean containsKey(Object key) { argument
141 if (key==null) {
150 if (key.equals(e.getKey()))
161 * for an entry with the specified key. If such an entry is found,
170 public V get(Object key) { argument
172 if (key==null) {
181 if (key.equals(e.getKey()))
202 public V put(K key, V value) { argument
210 * entry with the specified key
227 remove(Object key) argument
574 private final K key; field in class:AbstractMap.SimpleEntry
584 SimpleEntry(K key, V value) argument
704 private final K key; field in class:AbstractMap.SimpleImmutableEntry
714 SimpleImmutableEntry(K key, V value) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DSymbolHash.java56 /** Constructs a key table with the default size. */
62 * Constructs a key table with a given size.
64 * @param size the size of the key table.
76 * Adds the key/value mapping to the key table. If the key already exists,
77 * the previous value associated with this key is overwritten by the new
80 * @param key
83 public void put(Object key, Object value) { argument
84 int bucket = (key
105 get(Object key) argument
179 search(Object key, int bucket) argument
198 public Object key; field in class:SymbolHash.Entry
209 Entry(Object key, Object value, Entry next) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/
H A DSimpleHashtable.java67 // currently enumerated key
147 * Used to view this as an enumeration; returns the next key
155 retval = current.key;
162 * Returns the value to which the specified key is mapped in this hashtable.
164 public Object get(String key) { argument
166 int hash = key.hashCode();
169 if ((e.hash == hash) && (e.key == key))
176 * Returns the value to which the specified key is mapped in this
177 * hashtable ... the key is
179 getNonInterned(String key) argument
234 put(Object key, Object value) argument
274 Object key; field in class:SimpleHashtable.Entry
278 Entry(int hash, Object key, Object value, Entry next) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/
H A DDesMacCksumType.java76 * @param key the key used to encrypt the checksum.
81 public byte[] calculateKeyedChecksum(byte[] data, int size, byte[] key, argument
90 if (DESKeySpec.isWeak(key, 0)) {
91 key[7] = (byte)(key[7] ^ 0xF0);
96 byte[] residue_ivec = new byte[key.length];
97 byte[] residue = Des.des_cksum(residue_ivec, new_data, key);
104 System.arraycopy(key, 0, new_key, 0, key
133 verifyKeyedChecksum(byte[] data, int size, byte[] key, byte[] checksum, int usage) argument
165 decryptKeyedChecksum(byte[] enc_cksum, byte[] key) argument
[all...]
H A DDes.java46 // string-to-key function. For historical reasons, some
53 // string-to-key encoding. When set, the specified charset
122 public static final byte[] set_parity(byte[] key) { argument
124 key[i] = good_parity[key[i] & 0xff];
126 return key;
129 public static final long set_parity(long key) { argument
130 return octet2long(set_parity(long2octet(key)));
133 public static final boolean bad_key(long key) { argument
135 if (bad_keys[i] == key) {
142 bad_key(byte[] key) argument
190 cbc_encrypt( byte[] input, byte[] output, byte[] key, byte[] ivec, boolean encrypt) argument
309 des_cksum(byte[] ivec, byte[] msg, byte[] key) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/dk/
H A DDes3DkCrypto.java49 return 168; // bits; 3DES key material has 21 bytes
78 // fix key parity
86 * The 168 bits of random key data are converted to a protocol key value
89 * Result is a 24 byte (192-bit) key.
100 byte[] key = new byte[24];
101 System.arraycopy(one, 0, key, 0, 8);
102 System.arraycopy(two, 0, key, 8, 8);
103 System.arraycopy(three, 0, key, 16, 8);
105 return key;
108 keyCorrection(byte[] key) argument
176 setParityBit(byte[] key) argument
184 getCipher(byte[] key, byte[] ivec, int mode) argument
215 getHmac(byte[] key, byte[] msg) argument
[all...]
/openjdk7/hotspot/src/share/vm/libadt/
H A Ddict.hpp35 // These dictionaries define a key-value mapping. They can be inserted to,
36 // searched or deleted from. They grow and shrink as needed. The key is a
38 // key comparison routine determines if two keys are equal or not. A hash
39 // function can be provided; if it's not provided the key itself is used
42 typedef int (*Hash)(const void *key);
43 typedef void (*FuncDict)(const void *key, const void *val, Dict *d);
50 uint32 _cnt; // Number of key-value pairs in hash table
58 // cmp is a key comparision routine. hash is a routine to hash a key.
69 // Return # of key
[all...]
/openjdk7/hotspot/src/share/vm/adlc/
H A Ddict2.hpp33 // These dictionaries define a key-value mapping. They can be inserted to,
34 // searched or deleted from. They grow and shrink as needed. The key is a
36 // key comparison routine determines if two keys are equal or not. A hash
37 // function can be provided; if it's not provided the key itself is used
40 typedef int (*Hash)(const void *key);
42 typedef void (*FuncDict)(const void *key, const void *val, Dict *d);
49 int _cnt; // Number of key-value pairs in hash table
57 // cmp is a key comparision routine. hash is a routine to hash a key.
69 // Return # of key
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/subject/
H A DPolicyMapKeyConverter.java54 PolicyMapKey key = null;
56 key = PolicyMap.createWsdlEndpointScopeKey(this.serviceName, this.portName);
59 key = PolicyMap.createWsdlOperationScopeKey(this.serviceName, this.portName, subject.getName());
63 key = PolicyMap.createWsdlFaultMessageScopeKey(this.serviceName, this.portName,
67 key = PolicyMap.createWsdlMessageScopeKey(this.serviceName, this.portName, subject.getParent().getName());
71 LOGGER.exiting(key);
72 return key;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/
H A DHeaders.java39 * the value associated with each key is a {@link List}<{@link String}> with one
55 * for the given key</li>
62 * as either a null entry for the key (i.e. the list is null) or where the key
64 * output as a header line containing the key but no associated value.
90 * Adds the given value to the list of headers for the given key. If the
93 * @param key the header name
96 public void add (String key, String value) { argument
97 List<String> list = this.get(key);
100 put(key,lis
112 getFirst(String key) argument
124 set(String key, String value) argument
[all...]
/openjdk7/jdk/test/sun/tools/jconsole/
H A DResourceCheckTest.java31 * @summary 'missing resource key' error for key = "Operating system"
367 String key = (String)testData[ii][0];
369 if (key.endsWith(".mnemonic")) {
370 String baseKey = key.substring(0, key.length() - ".mnemonic".length());
374 System.out.println("****lookup failed for key = " + key);
383 String ss = Resources.getText(key,
388 if (ss.startsWith("missing resource key")) {
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/utils/
H A DStringToIntTable.java99 * @param key String to append
102 public final void put(String key, int value) argument
122 m_map[m_firstFree] = key;
131 * @param key String to look for
136 public final int get(String key) argument
141 if (m_map[i].equals(key))
151 * @param key String to look for
155 public final int getIgnoreCase(String key) argument
158 if (null == key)
163 if (m_map[i].equalsIgnoreCase(key))
177 contains(String key) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DStringToIntTable.java92 * @param key String to append
95 public final void put(String key, int value) argument
115 m_map[m_firstFree] = key;
124 * @param key String to look for
129 public final int get(String key) argument
134 if (m_map[i].equals(key))
144 * @param key String to look for
148 public final int getIgnoreCase(String key) argument
151 if (null == key)
156 if (m_map[i].equalsIgnoreCase(key))
170 contains(String key) argument
[all...]
H A DTrie.java28 * The key must be a 7-bit ASCII string
55 * @param key must be a 7-bit ASCII string
58 * @return The old object that matched key, or null.
60 public Object put(String key, Object value) argument
63 final int len = key.length();
74 Node nextNode = node.m_nextChar[Character.toUpperCase(key.charAt(i))];
85 // put this value into the tree with a case insensitive key
86 node.m_nextChar[Character.toUpperCase(key.charAt(i))] = newNode;
87 node.m_nextChar[Character.toLowerCase(key.charAt(i))] = newNode;
102 * Get an object that matches the key
108 get(final String key) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/security/auth/kerberos/
H A DKerberosKey.java34 * This class encapsulates a long term secret key for a Kerberos
38 * generate the secret key from it should use this class.
65 * The principal that this secret key belongs to.
72 * the version number of this secret key
80 * of the encryption key.
92 private KeyImpl key; field in class:KerberosKey
96 * Constructs a KerberosKey from the given bytes when the key type and
97 * key version number are known. This can be used when reading the secret
98 * key information from a Kerberos "keytab".
100 * @param principal the principal that this secret key belong
[all...]
/openjdk7/jdk/src/share/classes/sun/net/
H A DNetProperties.java82 * @param key the property name.
89 static public String get(String key) { argument
90 String def = props.getProperty(key);
92 return System.getProperty(key, def);
103 * @param key the property name.
111 static public Integer getInteger(String key, int defval) { argument
115 val = System.getProperty(key, props.getProperty(key));
133 * @param key the property name.
140 static public Boolean getBoolean(String key) { argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DLongHashMap.java42 private long key; field in class:LongHashMap.Entry
46 Entry(int hash, long key, Object value, Entry next) { argument
48 this.key = key;
54 * Returns the key corresponding to this entry.
56 * @return the key corresponding to this entry.
58 long getKey() { return key; }
116 return (key == e.getKey()) && eq(value, e.getValue());
218 * Returns the number of key-value mappings in this map.
220 * @return the number of key
246 get(long key) argument
259 containsKey(long key) argument
268 getEntry(long key) argument
318 put(long key, Object value) argument
355 remove(long key) argument
365 removeEntryForKey(long key) argument
453 newEntry(int hash, long key, Object value, Entry next) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthDefaultLookup.java37 public Object getDefault(JComponent c, ComponentUI ui, String key) { argument
39 Object value = super.getDefault(c, ui, key);
43 Object value = context.getStyle().get(context, key);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DKeymap.java40 * Fetches the name of the set of key-bindings.
48 * key is typed (i.e. a KEY_TYPED KeyEvent is received)
52 * possible key.
59 * Set the default action to fire if a key is typed.
68 * determine how to interpret key sequences. If the
72 * @param key the key sequence
73 * @return the action associated with the key
76 public Action getAction(KeyStroke key); argument
103 * Determines if the given key sequenc
108 isLocallyDefined(KeyStroke key) argument
116 addActionForKeyStroke(KeyStroke key, Action a) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DExemptionMechanismSpi.java65 * 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 DKeyAgreementSpi.java36 * 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...]
/openjdk7/jdk/src/share/classes/javax/management/openmbean/
H A DTabularData.java105 * (ie a row) whose index is the specified <var>key</var>. If <var>key</var> is <tt>null</tt> or does not conform to
108 * @param key the index value whose presence in this <tt>TabularData</tt> instance is to be tested.
110 * @return <tt>true</tt> if this <tt>TabularData</tt> indexes a row value with the specified key.
112 public boolean containsKey(Object[] key) ; argument
127 * <var>key</var>, or <tt>null</tt> if there is no value mapping
128 * to <var>key</var>, in this <tt>TabularData</tt> instance.
130 * @param key the key of the row to return.
132 * @return the value corresponding to <var>key</va
140 get(Object[] key) argument
189 remove(Object[] key) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DPBEKeyFactory.java38 * This class implements a key factory for PBE keys according to PKCS#5,
100 * Generates a <code>SecretKey</code> object from the provided key
101 * specification (key material).
103 * @param keySpec the specification (key material) of the secret key
105 * @return the secret key
107 * @exception InvalidKeySpecException if the given key specification
108 * is inappropriate for this key factory to produce a public key.
114 throw new InvalidKeySpecException("Invalid key spe
135 engineGetKeySpec(SecretKey key, Class keySpecCl) argument
175 engineTranslateKey(SecretKey key) argument
[all...]

Completed in 121 milliseconds

1234567891011>>