Searched refs:key (Results 276 - 300 of 1411) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DLazyActionMap.java100 public void put(Object key, Action action) { argument
102 super.put(key, action);
105 public Action get(Object key) { argument
107 return super.get(key);
110 public void remove(Object key) { argument
112 super.remove(key);
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTestISO10126Padding.java44 private SecretKey key; field in class:TestISO10126Padding
50 key = kg.generateKey();
63 ci.init(Cipher.ENCRYPT_MODE, key);
72 ci.init(Cipher.DECRYPT_MODE, key);
80 ci.init(Cipher.ENCRYPT_MODE, key);
84 ci.init(Cipher.DECRYPT_MODE, key);
/openjdk7/jdk/test/sun/text/resources/
H A DLocaleDataTest.java76 * data to check. That file is in .properties file format: a series of key/value
204 String key = null;
216 key = line;
220 key = line.substring(0, index);
226 if (!processLine(key, expectedValue, out, writeNewFile))
234 static boolean processLine(String key, String expectedValue, PrintWriter out, argument
240 index = key.indexOf("/");
241 if (index == -1 || index + 1 == key.length())
242 throw new Exception("Malformed input file: no slashes in \"" + key + "\"");
243 rbName = key
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DKeywords.java67 key = new Token[maxKey+1];
68 for (int i = 0; i <= maxKey; i++) key[i] = IDENTIFIER;
71 key[tokenName[t.ordinal()].getIndex()] = t;
76 public Token key(Name name) { method in class:Keywords
77 return (name.getIndex() > maxKey) ? IDENTIFIER : key[name.getIndex()];
83 private final Token[] key; field in class:Keywords
/openjdk7/jdk/test/javax/management/descriptor/
H A DImmutableDescriptorSerialTest.java64 for (String key : keys) {
65 String value = (String) d.getFieldValue(key);
67 Arrays.asList(key, key.toLowerCase(), key.toUpperCase())) {
70 throw new Exception("Value of " + key + " for " +
/openjdk7/jdk/test/javax/script/
H A DDummyScriptEngineFactory.java77 public String getParameter(String key) { argument
78 if (key.equals(ScriptEngine.ENGINE)) {
80 } else if (key.equals(ScriptEngine.ENGINE_VERSION)) {
82 } else if (key.equals(ScriptEngine.NAME)) {
84 } else if (key.equals(ScriptEngine.LANGUAGE)) {
86 } else if (key.equals(ScriptEngine.LANGUAGE_VERSION)) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthLookAndFeel.java74 * AppContext key to get the current SynthStyleFactory.
80 * AppContext key to get selectedUI.
85 * AppContext key to get selectedUIState.
399 String key = c.getUIClassID().intern();
401 if (key == "ButtonUI") {
404 else if (key == "CheckBoxUI") {
407 else if (key == "CheckBoxMenuItemUI") {
410 else if (key == "ColorChooserUI") {
413 else if (key == "ComboBoxUI") {
416 else if (key
824 private String key = SunToolkit.DESKTOPFONTHINTS; field in class:SynthLookAndFeel.AATextListener
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DDOMMessageFormatter.java55 * @param key The message key.
63 * specified key cannot be found.
66 String key, Object[] arguments)
73 throw new MissingResourceException("Unknown domain" + domain, null, key);
78 msg = key + ": " + resourceBundle.getString(key);
85 msg += " " + resourceBundle.getString(key);
91 throw new MissingResourceException(key, msg, key);
65 formatMessage(String domain, String key, Object[] arguments) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/identity/
H A DKeyRef.java26 * Schema key reference identity constraint.
39 /** The key (or unique) being referred to. */
48 String elemName, UniqueOrKey key) {
50 fKey = key;
58 /** Returns the key being referred to. */
64 * {referenced key} Required if {identity-constraint category} is keyref,
66 * {identity-constraint category} equal to key or unique.
47 KeyRef(String namespace, String identityConstraintName, String elemName, UniqueOrKey key) argument
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/orb/
H A DParserImplTableBase.java62 private Object key ; field in class:ParserImplTableBase.MapEntry
65 public MapEntry( Object key )
67 this.key = key ;
72 return key ;
94 return (key.equals( other.key )) &&
100 return key.hashCode() ^ value.hashCode() ;
110 // correct (key, value) pairs (nested typed lambda expression).
/openjdk7/jdk/src/share/classes/javax/swing/
H A DAction.java217 * Useful constants that can be used as the storage-retrieval key
226 * The key used for storing the <code>String</code> name
231 * The key used for storing a short <code>String</code>
236 * The key used for storing a longer <code>String</code>
241 * The key used for storing a small <code>Icon</code>, such
254 * The key used to determine the command <code>String</code> for the
263 * The key used for storing a <code>KeyStroke</code> to be used as the
271 * The key used for storing an <code>Integer</code> that corresponds to
272 * one of the <code>KeyEvent</code> key codes. The value is
284 * The key use
343 getValue(String key) argument
353 putValue(String key, Object value) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/xml/crypto/
H A DXMLCryptoContext.java69 * Returns the key selector for finding a key.
71 * @return the key selector, or <code>null</code> if not specified
77 * Sets the key selector for finding a key.
79 * @param ks the key selector, or <code>null</code> to remove the current
191 * Returns the value to which this context maps the specified key.
193 * <p>More formally, if this context contains a mapping from a key
195 * <code>(key==null ? k==null : key
207 get(Object key) argument
225 put(Object key, Object value) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/
H A DSnmpUsmKeyHandler.java28 * This interface allows you to compute key localization and delta generation. It is useful when adding user in USM MIB. An instance of <CODE> SnmpUsmKeyHandler </CODE> is associated to each <CODE> SnmpEngine </CODE> object.
29 * When computing key, an authentication algorithm is needed. The supported ones are : usmHMACMD5AuthProtocol and usmHMACSHAAuthProtocol.
37 * DES privacy algorithm key size. To be used when localizing privacy key
42 * DES privacy algorithm delta size. To be used when calculing privacy key delta.
47 * Translate a password to a key. It MUST be compliant to RFC 2574 description.
50 * @return The key.
55 * Localize the passed key using the passed <CODE>SnmpEngineId</CODE>. It MUST be compliant to RFC 2574 description.
57 * @param key The key t
62 localizeAuthKey(String algoName, byte[] key, SnmpEngineId engineId) argument
73 localizePrivKey(String algoName, byte[] key, SnmpEngineId engineId,int keysize) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DI18NImpl.java35 * one "key=value" pair per line. All such files however have the same
46 * Returns the message string with the specified key from the
50 protected static final String getString(String className, String resource_name, String key) { argument
60 return (String)bundle.handleGetObject(key);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/fmt/
H A DJPropertyFile.java46 * Adds key/value pair into the property file.
47 * If you call this method twice with the same key,
50 public void add( String key, String value ) { argument
51 data.put(key,value);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/
H A DParseException.java38 public ParseException(String key, Object... args) { argument
39 super(key, args);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/
H A DDeserializationException.java41 public DeserializationException(String key, Object... args) { argument
42 super(key, args);
H A DSerializationException.java40 public SerializationException(String key, Object... args) { argument
41 super(key, args);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/xml/
H A DXMLMessageException.java36 public XMLMessageException(String key, Object... args) { argument
37 super(key, args);
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/PBE/
H A DDecryptWithoutParameters.java44 SecretKey key = new SecretKeySpec(new byte[5], algo);
46 cipher.init(Cipher.DECRYPT_MODE, key);
/openjdk7/jdk/test/com/sun/java/swing/plaf/windows/
H A DTest6824600.java61 public HackedDesktopProperty(String key, Object fallback) { argument
62 super(key, fallback);
/openjdk7/jdk/test/com/sun/jdi/connect/spi/
H A DNullTransportService.java61 public void stopListening(ListenKey key) throws IOException { argument
65 public Connection accept(ListenKey key, long acceptTimeout, argument
/openjdk7/jdk/test/sun/security/provider/KeyStore/
H A DTestJKSWithSecretKey.java42 SecretKey key = new SecretKeySpec(new byte[8], "DES");
49 ks.setKeyEntry("test_encrypt_key", key, passwd, null);
/openjdk7/jdk/test/sun/security/rsa/
H A DTestKeyPairGeneratorLength.java27 * @summary make sure generated key pairs are exactly the requested length
48 RSAPublicKey key = (RSAPublicKey)kp.getPublic();
49 int k = key.getModulus().bitLength();
/openjdk7/jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/
H A DRWMap.java71 public Object get(Object key) { argument
73 try { return m.get(key); }
77 public boolean containsKey(Object key) { argument
79 try { return m.containsKey(key); }
120 public Object put(Object key, Object value) { argument
122 try { return m.put(key, value); }
126 public Object remove(Object key) { argument
128 try { return m.remove(key); }

Completed in 86 milliseconds

<<11121314151617181920>>