Home
last modified time | relevance | path

Searched refs:coll (Results 1 – 14 of 14) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DRuleBasedCollatorTest.java45 RuleBasedCollator coll = new RuleBasedCollator(rule); in testHashCode() local
47 assertEquals(coll.hashCode(), same.hashCode()); in testHashCode()
51 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(Locale.US); in testClone() local
52 RuleBasedCollator clone = (RuleBasedCollator) coll.clone(); in testClone()
53 assertNotSame(coll, clone); in testClone()
54 assertEquals(coll.getRules(), clone.getRules()); in testClone()
55 assertEquals(coll.getDecomposition(), clone.getDecomposition()); in testClone()
56 assertEquals(coll.getStrength(), clone.getStrength()); in testClone()
61 RuleBasedCollator coll = new RuleBasedCollator(rule); in testEqualsObject() local
63 assertEquals(Collator.TERTIARY, coll.getStrength()); in testEqualsObject()
[all …]
DCollationElementIteratorTest.java36 private RuleBasedCollator coll; field in CollationElementIteratorTest
40 coll = (RuleBasedCollator) Collator.getInstance(Locale.US); in setUp()
47 CollationElementIterator iterator = coll.getCollationElementIterator(text); in testGetOffset()
61 CollationElementIterator iterator = coll.getCollationElementIterator(text); in testNext()
85 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(Locale.US); in testPrevious() local
87 CollationElementIterator iterator = coll in testPrevious()
113 CollationElementIterator iterator = coll.getCollationElementIterator(text); in testReset()
/libcore/ojluni/src/main/java/java/security/cert/
DCollectionCertStoreParameters.java58 private Collection<?> coll; field in CollectionCertStoreParameters
89 coll = collection; in CollectionCertStoreParameters()
98 coll = Collections.EMPTY_SET; in CollectionCertStoreParameters()
111 return coll; in getCollection()
137 sb.append(" collection: " + coll + "\n"); in toString()
/libcore/luni/src/test/java/libcore/java/text/
DCollatorTest.java97 RuleBasedCollator coll = new RuleBasedCollator(rule); in testEqualsObject() local
99 assertEquals(Collator.TERTIARY, coll.getStrength()); in testEqualsObject()
100 assertEquals(Collator.NO_DECOMPOSITION, coll.getDecomposition()); in testEqualsObject()
102 assertTrue(coll.equals(other)); in testEqualsObject()
104 coll.setStrength(Collator.PRIMARY); in testEqualsObject()
105 assertFalse(coll.equals(other)); in testEqualsObject()
107 coll.setStrength(Collator.TERTIARY); in testEqualsObject()
108 coll.setDecomposition(Collator.CANONICAL_DECOMPOSITION); in testEqualsObject()
110 assertFalse(coll.equals(other)); in testEqualsObject()
142 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(l);
[all …]
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DCollectionCertStore.java81 private Collection<?> coll; field in CollectionCertStore
101 coll = ((CollectionCertStoreParameters) params).getCollection(); in CollectionCertStore()
119 if (coll == null) { in engineGetCertificates()
127 for (Object o : coll) { in engineGetCertificates()
133 for (Object o : coll) { in engineGetCertificates()
161 if (coll == null) in engineGetCRLs()
169 for (Object o : coll) { in engineGetCRLs()
174 for (Object o : coll) { in engineGetCRLs()
DIndexedCollectionCertStore.java128 Collection<?> coll = ((CollectionCertStoreParameters)params).getCollection(); in IndexedCollectionCertStore() local
129 if (coll == null) { in IndexedCollectionCertStore()
133 buildIndex(coll); in IndexedCollectionCertStore()
140 private void buildIndex(Collection<?> coll) { in buildIndex() argument
145 for (Object obj : coll) { in buildIndex()
/libcore/ojluni/src/main/java/sun/nio/ch/
DUtil.java313 public boolean containsAll(Collection<?> coll) { in ungrowableSet() argument
314 return s.containsAll(coll); in ungrowableSet()
316 public boolean removeAll(Collection<?> coll) { in ungrowableSet() argument
317 return s.removeAll(coll); in ungrowableSet()
319 public boolean retainAll(Collection<?> coll) { in ungrowableSet() argument
320 return s.retainAll(coll); in ungrowableSet()
326 public boolean addAll(Collection<? extends E> coll) { in ungrowableSet() argument
/libcore/ojluni/src/main/java/sun/security/provider/
DX509Factory.java412 Collection<X509CertImpl> coll = new ArrayList<>(); in parseX509orPKCS7Cert() local
429 coll.add(new X509CertImpl(data)); in parseX509orPKCS7Cert()
433 return coll; in parseX509orPKCS7Cert()
445 Collection<X509CRLImpl> coll = new ArrayList<>(); in parseX509orPKCS7CRL() local
462 coll.add(new X509CRLImpl(data)); in parseX509orPKCS7CRL()
466 return coll; in parseX509orPKCS7CRL()
/libcore/luni/src/test/java/tests/security/cert/
DCertStore1Test.java386 Collection<?> coll; in testCertStore15() local
388 coll = certS[i].getCertificates(null); in testCertStore15()
389 assertTrue("Result collection not empty",coll.isEmpty()); in testCertStore15()
390 coll = certS[i].getCRLs(null); in testCertStore15()
391 assertTrue("Result collection not empty",coll.isEmpty()); in testCertStore15()
/libcore/ojluni/src/main/java/java/util/
DCollections.java667 public static <T extends Object & Comparable<? super T>> T min(Collection<? extends T> coll) { in min() argument
668 Iterator<? extends T> i = coll.iterator(); in min()
703 public static <T> T min(Collection<? extends T> coll, Comparator<? super T> comp) { in min() argument
705 return (T)min((Collection) coll); in min()
707 Iterator<? extends T> i = coll.iterator(); in min()
740 public static <T extends Object & Comparable<? super T>> T max(Collection<? extends T> coll) { in max() argument
741 Iterator<? extends T> i = coll.iterator(); in max()
776 public static <T> T max(Collection<? extends T> coll, Comparator<? super T> comp) { in max() argument
778 return (T)max((Collection) coll); in max()
780 Iterator<? extends T> i = coll.iterator(); in max()
[all …]
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DDistinctOpTest.java120 SortedTestData(List<T> coll) { in SortedTestData() argument
121 super("SortedTestData", coll, in SortedTestData()
/libcore/ojluni/src/main/java/java/lang/
DClass.java2421 Collection<Annotation> coll = map.values(); in getAnnotations() local
2422 return coll.toArray(new Annotation[coll.size()]); in getAnnotations()
/libcore/jsr166-tests/src/test/java/jsr166/
DSynchronousQueueTest.java115 Collection<Integer> coll = Arrays.asList(ints); in testAddAll_ISE() local
117 q.addAll(coll); in testAddAll_ISE()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrayListTest.java451 Collection coll = Arrays.asList(new String[] { "1", "2" }); in testaddAllHarmony5839() local
463 list.addAll(6, coll); in testaddAllHarmony5839()