Searched refs:put (Results 101 - 125 of 2354) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/util/jar/Attributes/
H A DPutAndPutAll.java26 @summary Test if put and putAll will test for illegal
38 at.put("this is not an Attributes.Name", "value");
39 throw new Exception("put should check for non Attributes.Name names");
44 at.put(new Attributes.Name("name"), new Integer(0));
45 throw new Exception("put should check for non String values");
/openjdk7/jdk/test/java/util/prefs/
H A DExportNode.java40 N1.put("ExportNodeTestName1","ExportNodeTestValue1");
42 N2.put("ExportNodeTestName2","ExportNodeTestValue2");
/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaAWTAccess.java33 public void put(Object context, Object key, Object value); method in interface:JavaAWTAccess
38 public void put(Object key, Object value); method in interface:JavaAWTAccess
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/dtd/
H A DXML11DTDDVFactoryImpl.java66 toReturn.put(key, fXML11BuiltInTypes.get(key));
72 fXML11BuiltInTypes.put("XML11ID", new XML11IDDatatypeValidator());
74 fXML11BuiltInTypes.put("XML11IDREF", dvTemp);
75 fXML11BuiltInTypes.put("XML11IDREFS", new ListDatatypeValidator(dvTemp));
77 fXML11BuiltInTypes.put("XML11NMTOKEN", dvTemp);
78 fXML11BuiltInTypes.put("XML11NMTOKENS", new ListDatatypeValidator(dvTemp));
/openjdk7/jdk/test/java/lang/management/RuntimeMXBean/
H A DPropertiesTest.java63 myProps.put("good.property.1", "good.value.1");
64 myProps.put("good.property.2", "good.value.2");
65 myProps.put("good.property.3", "good.value.3");
66 myProps.put("good.property.4", new Integer(4));
67 myProps.put(new Integer(5), "good.value.5");
68 myProps.put(new Object(), new Object());
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/SSLSecurity/
H A DProviderTest.java92 put("SSLContext.javax", "JavaxSSLContextImpl");
93 put("SSLContext.com", "ComSSLContextImpl");
94 put("TrustManagerFactory.javax",
96 put("TrustManagerFactory.com",
98 put("KeyManagerFactory.javax",
100 put("KeyManagerFactory.com",
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DAttribute.java102 standardAttributes.put(AnnotationDefault, AnnotationDefault_attribute.class);
103 standardAttributes.put(BootstrapMethods, BootstrapMethods_attribute.class);
104 standardAttributes.put(CharacterRangeTable, CharacterRangeTable_attribute.class);
105 standardAttributes.put(Code, Code_attribute.class);
106 standardAttributes.put(ConstantValue, ConstantValue_attribute.class);
107 standardAttributes.put(Deprecated, Deprecated_attribute.class);
108 standardAttributes.put(EnclosingMethod, EnclosingMethod_attribute.class);
109 standardAttributes.put(Exceptions, Exceptions_attribute.class);
110 standardAttributes.put(InnerClasses, InnerClasses_attribute.class);
111 standardAttributes.put(LineNumberTabl
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthStyle.java72 DEFAULT_VALUES.put("Button.focusInputMap", buttonMap);
73 DEFAULT_VALUES.put("CheckBox.focusInputMap", buttonMap);
74 DEFAULT_VALUES.put("RadioButton.focusInputMap", buttonMap);
75 DEFAULT_VALUES.put("ToggleButton.focusInputMap", buttonMap);
76 DEFAULT_VALUES.put("SynthArrowButton.focusInputMap", buttonMap);
77 DEFAULT_VALUES.put("List.dropLineColor", Color.BLACK);
78 DEFAULT_VALUES.put("Tree.dropLineColor", Color.BLACK);
79 DEFAULT_VALUES.put("Table.dropLineColor", Color.BLACK);
80 DEFAULT_VALUES.put("Table.dropLineShortColor", Color.RED);
146 DEFAULT_VALUES.put("EditorPan
[all...]
/openjdk7/jdk/src/share/classes/java/util/regex/
H A DUnicodeProp.java199 posix.put("ALPHA", "ALPHABETIC");
200 posix.put("LOWER", "LOWERCASE");
201 posix.put("UPPER", "UPPERCASE");
202 posix.put("SPACE", "WHITE_SPACE");
203 posix.put("PUNCT", "PUNCTUATION");
204 posix.put("XDIGIT","HEX_DIGIT");
205 posix.put("ALNUM", "ALNUM");
206 posix.put("CNTRL", "CONTROL");
207 posix.put("DIGIT", "DIGIT");
208 posix.put("BLAN
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/cs/
H A DUTF_32Coder.java95 dst.put((char) cp);
100 dst.put(Character.highSurrogate(cp));
101 dst.put(Character.lowSurrogate(cp));
121 protected void put(int cp, ByteBuffer dst) { method in class:UTF_32Coder.Encoder
123 dst.put((byte)(cp >> 24));
124 dst.put((byte)(cp >> 16));
125 dst.put((byte)(cp >> 8));
126 dst.put((byte)cp);
128 dst.put((byte)cp);
129 dst.put((byt
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/
H A DRuntimeUtil.java76 b.put(Byte.TYPE,Byte.class);
77 b.put(Short.TYPE,Short.class);
78 b.put(Integer.TYPE,Integer.class);
79 b.put(Long.TYPE,Long.class);
80 b.put(Character.TYPE,Character.class);
81 b.put(Boolean.TYPE,Boolean.class);
82 b.put(Float.TYPE,Float.class);
83 b.put(Double.TYPE,Double.class);
84 b.put(Void.TYPE,Void.class);
90 p.put(
[all...]
/openjdk7/jdk/test/java/awt/EventQueue/6638195/
H A Dbug6638195.java101 methodMap.put("event", afterDispatchEventArgument);
102 methodMap.put("handle", afterDispatchHandleArgument);
103 methodMap.put("method", afterDispatchCallable);
104 objectMap.put("afterDispatch", methodMap);
120 methodMap.put("event", beforeDispatchEventArgument);
121 methodMap.put("method", beforeDispatchCallable);
122 objectMap.put("beforeDispatch", methodMap);
133 methodMap.put("eventQueue", getNextEventEventQueueArgument);
134 methodMap.put("method", getNextEventCallable);
135 objectMap.put("getNextEven
[all...]
/openjdk7/jdk/test/java/security/Provider/
H A DSupportsParameter.java109 put("Signature.DSA0", "foo.DSA0");
111 put("Signature.DSA", "foo.DSA");
112 put("Signature.DSA SupportedKeyClasses",
116 put("Signature.DSA2", "foo.DSA2");
117 put("Signature.DSA2 SupportedKeyFormats", "X.509|PKCS#8");
119 put("Signature.DSA3", "foo.DSA3");
120 put("Signature.DSA3 SupportedKeyClasses",
125 put("Cipher.DES", "foo.DES");
126 put("Cipher.DES SupportedKeyFormats", "RAW");
127 put("Ciphe
[all...]
/openjdk7/jdk/test/sun/security/provider/certpath/DisabledAlgorithms/
H A DCPBuilder.java293 certmap.put("trustAnchor_SHA1withRSA_1024",
295 certmap.put("trustAnchor_SHA1withRSA_512",
297 certmap.put("intermediate_SHA1withRSA_1024_1024",
299 certmap.put("intermediate_SHA1withRSA_1024_512",
301 certmap.put("intermediate_SHA1withRSA_512_1024",
303 certmap.put("intermediate_SHA1withRSA_512_512",
305 certmap.put("intermediate_MD2withRSA_1024_1024",
307 certmap.put("intermediate_MD2withRSA_1024_512",
309 certmap.put("endentiry_SHA1withRSA_1024_1024",
311 certmap.put("endentiry_SHA1withRSA_1024_51
[all...]
/openjdk7/jdk/test/java/util/Map/
H A DGet.java49 private static void put(Map<Character,Boolean> m, method in class:Get
56 equal(m.put(key, value), oldValue);
75 put(m, 'A', true, null);
76 put(m, 'A', false, true); // Guaranteed identical by JLS
77 put(m, 'B', true, null);
78 put(m, new Character('A'), false, usesIdentity ? null : false);
81 put(m, null, true, null);
82 put(m, null, false, true);
90 try { m.put(null, true); fail(m.getClass().getName() + " did not reject null key"); }
96 put(
[all...]
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djava_util_HashMap.java42 map.put(null, null);
43 map.put("key", "value");
44 map.put("key-null", "null-value");
45 map.put("way", "remove");
52 map.put(null, "null-value");
53 map.put("key", "value");
54 map.put("key-null", null);
/openjdk7/jdk/test/java/util/TreeMap/
H A DEmptyMapAndNulls.java45 comparable.put(null, "anything");
53 comparable.put("test", "anything");
61 comparable.put(null, "anything");
72 comparator.put(null, "anything");
80 comparator.put("test", "anything");
88 comparator.put(null, "anything");
98 comparator.put(new Object(), "anything");
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXCreateWindowParams.java43 put(map[i], map[i+1]);
49 put(key, value);
55 put(key, Integer.valueOf(value));
61 put(key, Long.valueOf(value));
67 put(key, value);
71 put(key, Integer.valueOf(value));
75 put(key, Long.valueOf(value));
/openjdk7/langtools/test/tools/javac/processing/model/element/
H A DTypeParamBounds.java88 boundNames.put("T", new String[] {"Object"});
89 boundNames.put("U", new String[] {"Object"});
90 boundNames.put("V", new String[] {"Number"});
91 boundNames.put("W", new String[] {"U"});
92 boundNames.put("X", new String[] {"Runnable"});
93 boundNames.put("Y", new String[] {"CharSequence", "Runnable"});
94 boundNames.put("Z", new String[] {"Object", "Runnable"});
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/compiler/
H A DFunctionTable.java235 m_functionID.put(Keywords.FUNC_CURRENT_STRING,
237 m_functionID.put(Keywords.FUNC_LAST_STRING,
239 m_functionID.put(Keywords.FUNC_POSITION_STRING,
241 m_functionID.put(Keywords.FUNC_COUNT_STRING,
243 m_functionID.put(Keywords.FUNC_ID_STRING,
245 m_functionID.put(Keywords.FUNC_KEY_STRING,
247 m_functionID.put(Keywords.FUNC_LOCAL_PART_STRING,
249 m_functionID.put(Keywords.FUNC_NAMESPACE_STRING,
251 m_functionID.put(Keywords.FUNC_NAME_STRING,
253 m_functionID.put(Keyword
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DBaseDVFactory.java163 types.put(ANYSIMPLETYPE, anySimpleType);
165 types.put(STRING, stringDV);
166 types.put(BOOLEAN, new XSSimpleTypeDecl(anySimpleType, BOOLEAN, XSSimpleTypeDecl.DV_BOOLEAN, XSSimpleType.ORDERED_FALSE, false, true, false, true, XSConstants.BOOLEAN_DT));
168 types.put(DECIMAL, decimalDV);
170 types.put(ANYURI, new XSSimpleTypeDecl(anySimpleType, ANYURI, XSSimpleTypeDecl.DV_ANYURI, XSSimpleType.ORDERED_FALSE, false, false, false, true, XSConstants.ANYURI_DT));
171 types.put(BASE64BINARY, new XSSimpleTypeDecl(anySimpleType, BASE64BINARY, XSSimpleTypeDecl.DV_BASE64BINARY, XSSimpleType.ORDERED_FALSE, false, false, false, true, XSConstants.BASE64BINARY_DT));
172 types.put(DATETIME, new XSSimpleTypeDecl(anySimpleType, DATETIME, XSSimpleTypeDecl.DV_DATETIME, XSSimpleType.ORDERED_PARTIAL, false, false, false, true, XSConstants.DATETIME_DT));
173 types.put(TIME, new XSSimpleTypeDecl(anySimpleType, TIME, XSSimpleTypeDecl.DV_TIME, XSSimpleType.ORDERED_PARTIAL, false, false, false, true, XSConstants.TIME_DT));
174 types.put(DATE, new XSSimpleTypeDecl(anySimpleType, DATE, XSSimpleTypeDecl.DV_DATE, XSSimpleType.ORDERED_PARTIAL, false, false, false, true, XSConstants.DATE_DT));
175 types.put(YEARMONT
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DTMSchema.java306 stateMap.put(Part.EP_EDITTEXT,
311 stateMap.put(Part.BP_PUSHBUTTON,
314 stateMap.put(Part.BP_RADIOBUTTON,
320 stateMap.put(Part.BP_CHECKBOX,
328 stateMap.put(Part.CP_COMBOBOX, comboBoxStates);
329 stateMap.put(Part.CP_DROPDOWNBUTTON, comboBoxStates);
330 stateMap.put(Part.CP_BACKGROUND, comboBoxStates);
331 stateMap.put(Part.CP_TRANSPARENTBACKGROUND, comboBoxStates);
332 stateMap.put(Part.CP_BORDER, comboBoxStates);
333 stateMap.put(Par
[all...]
/openjdk7/jdk/test/com/sun/security/auth/module/LdapLoginModule/
H A DCheckConfigs.java182 options.put("userProvider", "ldap://localhost:23456/dc=example,dc=com");
183 options.put("userFilter",
185 options.put("authzIdentity", "{EMPLOYEENUMBER}");
186 options.put("debug", "true");
217 options.put("userProvider", "ldap://localhost:23456/dc=example,dc=com");
218 options.put("authIdentity", "{USERNAME}");
219 options.put("userFilter",
222 options.put("useSSL", "false");
223 options.put("debug", "true");
252 options.put("userProvide
[all...]
/openjdk7/jdk/test/java/util/logging/
H A DCustomLogManager.java51 namedLoggers.put(name, logger);
105 props.put(".level", "CONFIG");
106 props.put("CustomLogManagerTest.level", "WARNING");
107 props.put("CustomLogManagerTest.handlers", "CustomLogManager$CustomHandler");
108 props.put("SimpleLogManager.level", "INFO");
109 props.put("SimpleLogManager.handlers", "CustomLogManager$CustomHandler");
110 props.put("CustomLogManager$CustomHandler.level", "WARNING");
111 props.put(".handlers", "CustomLogManager$CustomHandler");
112 props.put("org.foo.bar.level", "SEVERE");
113 props.put("or
[all...]
/openjdk7/jdk/test/com/sun/jndi/ldap/
H A DNoWaitForReplyTest.java49 env.put(Context.PROVIDER_URL, "ldap://localhost:" +
51 env.put(Context.INITIAL_CONTEXT_FACTORY,
55 env.put("com.sun.jndi.ldap.read.timeout", "10000");
58 env.put("com.sun.jndi.ldap.search.waitForReply", "false");
61 env.put("java.naming.ldap.version", "3");

Completed in 205 milliseconds

1234567891011>>