Home
last modified time | relevance | path

Searched refs:unmodifiableCollection (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/test/java/util/Collections/
DWrappedNull.java58 Collection c = Collections.unmodifiableCollection(null); in main()
178 Collection c = Collections.unmodifiableCollection( in main()
DWrappedUnmodifiableCollections.java62 testWrapping(list, Collections::unmodifiableCollection); in testUnmodifiableCollectionsDontWrap()
DWrappers.java70 cases.add(new Object[] { Collections.unmodifiableCollection(seedList) }); in collectionCases()
DSyncSubMutexes.java152 private static final Collection<String> BASE_COLLECTION = Collections.unmodifiableCollection(
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertPath.java105 return Collections.unmodifiableCollection(encodingNames).iterator(); in getEncodings()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DX509CertPath.java89 encodingList = Collections.unmodifiableCollection(list);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollections2Test.java184 Collections.unmodifiableCollection(null); in test_unmodifiableCollectionLjava_util_Collection()
510 testCollectionForEach(Collections.unmodifiableCollection(list)); in test_Collection_forEach()
DCollectionsTest.java1636 Collection c = Collections.unmodifiableCollection(ll); in test_unmodifiableCollectionLjava_util_Collection()
1669 c = Collections.unmodifiableCollection(myCollection); in test_unmodifiableCollectionLjava_util_Collection()
1679 .unmodifiableCollection(myCollection)).runTest(); in test_unmodifiableCollectionLjava_util_Collection()
1949 Collection uc = Collections.unmodifiableCollection(al); in test_unmodifiable_toString_methods()
/libcore/ojluni/src/main/java/java/security/cert/
DX509CRLSelector.java472 return Collections.unmodifiableCollection(issuerX500Principals); in getIssuers()
/libcore/ojluni/annotations/flagged_api/java/util/
DCollections.annotated.java74 public static <T> java.util.Collection<T> unmodifiableCollection(java.util.Collection<? extends T> … in unmodifiableCollection() method in Collections
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CertImpl.java1608 return Collections.unmodifiableCollection(newNames); in makeAltNames()
1636 return Collections.unmodifiableCollection(namesCopy); in cloneAltNames()
/libcore/luni/src/test/java/libcore/java/util/
DOldCollectionsTest.java212 Collections.unmodifiableCollection(null); in test_unmodifiableCollectionLjava_util_Collection()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java76 …atic <T> java.util.Collection<@libcore.util.NullFromTypeParam T> unmodifiableCollection(@libcore.u… in unmodifiableCollection() method in Collections
/libcore/ojluni/src/main/java/java/security/
DProvider.java309 return Collections.unmodifiableCollection(super.values()); in values()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java196 Collection<String> objToSave = java.util.Collections.unmodifiableCollection(SET); in test_writeObject_Collections_UnmodifiableCollection()
/libcore/ojluni/src/main/java/java/util/
DCollections.java1087 public static <T> Collection<T> unmodifiableCollection(Collection<? extends T> c) { in unmodifiableCollection() method in Collections
1734 values = unmodifiableCollection(m.values());
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java152 public static <T> java.util.Collection<T> unmodifiableCollection( in unmodifiableCollection() method in Collections
/libcore/api/
Dcurrent.txt13673 …method @NonNull public static <T> java.util.Collection<T> unmodifiableCollection(@NonNull java.uti…