Searched refs:singletonList (Results 1 - 25 of 51) sorted by relevance

123

/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djava_util_Collections_SingletonList.java40 return Collections.singletonList("string");
44 return Collections.singletonList("object");
H A Djava_util_Collections_EmptyList.java44 return Collections.singletonList("string");
H A Djava_util_Collections_CheckedList.java40 List<String> list = Collections.singletonList("string");
H A Djava_util_Collections_SynchronizedCollection.java41 List<String> list = Collections.singletonList("string");
H A Djava_util_Collections_SynchronizedList.java40 List<String> list = Collections.singletonList("string");
H A Djava_util_Collections_UnmodifiableCollection.java41 List<String> list = Collections.singletonList("string");
H A Djava_util_Collections_UnmodifiableList.java40 List<String> list = Collections.singletonList("string");
H A Djava_util_Collections_CheckedCollection.java41 List<String> list = Collections.singletonList("string");
/openjdk7/jdk/test/javax/management/relation/
H A DRelationNotificationSourceTest.java53 Collections.singletonList(name2));
66 Collections.singletonList(name2),
67 Collections.singletonList(name2));
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DKeyStoreBuilderParameters.java54 parameters = Collections.singletonList(Objects.requireNonNull(builder));
/openjdk7/jdk/test/javax/xml/crypto/dsig/
H A DGenerationTests.java164 dsa = kifac.newKeyInfo(Collections.singletonList
166 rsa = kifac.newKeyInfo(Collections.singletonList
168 rsa1024 = kifac.newKeyInfo(Collections.singletonList
186 (withoutComments, dsaSha1, Collections.singletonList
188 ("", sha1, Collections.singletonList
337 KeyInfo kn = kifac.newKeyInfo(Collections.singletonList
348 KeyInfo rm = kifac.newKeyInfo(Collections.singletonList
365 KeyInfo crt_crl = kifac.newKeyInfo(Collections.singletonList
375 KeyInfo crt = kifac.newKeyInfo(Collections.singletonList
376 (kifac.newX509Data(Collections.singletonList(signingCer
[all...]
/openjdk7/langtools/test/tools/javac/generics/inference/6650759/
H A DT6650759f.java48 Iterable<D> ops = (true) ? Collections.singletonList(d) : m(d);
/openjdk7/jdk/test/javax/management/generified/
H A DGenericTest.java219 ttindex.equals(singletonList("item1")));
223 List<Integer> tdkey = checked(singletonList(5), Integer.class);
277 Role dependent = new Role("dependent", singletonList(moduleA));
278 Role dependedOn = new Role("dependedOn", singletonList(moduleB));
298 refRoles.equals(singletonList("dependent")));
303 relsOfType.equals(singletonList("A-DependsOn-B")));
308 allRelIds.equals(singletonList("A-DependsOn-B")));
313 allRelTypes.equals(singletonList("DependsOn")));
318 refdMBeans.get(moduleA).equals(singletonList("dependent")) &&
319 refdMBeans.get(moduleB).equals(singletonList("dependedO
434 private static <E> List<E> singletonList(E value) { method in class:GenericTest
[all...]
/openjdk7/jdk/src/share/classes/java/lang/management/
H A DPlatformComponent.java72 return Collections.singletonList(ManagementFactoryHelper.getClassLoadingMXBean());
89 return Collections.singletonList(m);
103 return Collections.singletonList(ManagementFactoryHelper.getMemoryMXBean());
157 return Collections.singletonList(ManagementFactoryHelper.getOperatingSystemMXBean());
170 return Collections.singletonList(ManagementFactoryHelper.getRuntimeMXBean());
183 return Collections.singletonList(ManagementFactoryHelper.getThreadMXBean());
201 return Collections.singletonList(m);
271 return Collections.singletonList(ManagementFactoryHelper.getDiagnosticMXBean());
307 return Collections.singletonList(osMXBeanIntf.cast(m));
/openjdk7/jdk/test/java/security/cert/CertPath/
H A DSerialize.java43 CertPath outcp = cf.generateCertPath(Collections.singletonList(c));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/client/
H A DHttpTransportPipe.java73 private static final List<String> USER_AGENT = Collections.singletonList(RuntimeVersion.VERSION.toString());
162 reqHeaders.put("Content-Length", Collections.singletonList(Integer.toString(buf.size())));
163 reqHeaders.put("Content-Type", Collections.singletonList(ct.getContentType()));
165 reqHeaders.put("Accept", Collections.singletonList(ct.getAcceptHeader()));
177 reqHeaders.put("Content-Type", Collections.singletonList(ct.getContentType()));
179 reqHeaders.put("Accept", Collections.singletonList(ct.getAcceptHeader()));
345 reqHeaders.put("Authorization", Collections.singletonList("Basic "+creds));
359 reqHeaders.put("SOAPAction", Collections.singletonList(soapAction));
361 reqHeaders.put("SOAPAction", Collections.singletonList("\"\""));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/addon/code_injector/
H A DPluginImpl.java53 return Collections.singletonList(Const.NS);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/
H A DCSingleTypePropertyInfo.java79 return Collections.singletonList(getTarget());
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DStreamSOAP11Codec.java47 private static final List<String> expectedContentTypes = Collections.singletonList(SOAP11_MIME_TYPE);
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DOCSP.java129 OCSPResponse ocspResponse = check(Collections.singletonList(certId),
130 responderURI, Collections.singletonList(issuerCert), null);
155 Collections.singletonList(responderCert), date);
189 OCSPResponse ocspResponse = check(Collections.singletonList(certId),
H A DOCSPRequest.java88 this.certIds = Collections.singletonList(certId);
/openjdk7/jdk/test/java/security/CodeSigner/
H A DSerialize.java47 CertPath cp = cf.generateCertPath(Collections.singletonList(c));
/openjdk7/jdk/test/javax/xml/crypto/dsig/keyinfo/KeyInfo/
H A DMarshal.java47 (Collections.singletonList(fac.newKeyName("foo")), "keyid");
/openjdk7/jdk/test/java/security/cert/PolicyNode/
H A DGetPolicyQualifiers.java55 List certList = Collections.singletonList(eeCert);
/openjdk7/langtools/test/tools/javac/positions/
H A DT6402077.java61 Collections.<JavaFileObject>singletonList(new MyFileObject());

Completed in 583 milliseconds

123