Home
last modified time | relevance | path

Searched refs:disjoint (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/test/java/util/Collections/
DDisjoint.java62 boolean disjoint = (Math.abs(i - j) > 1); in main()
66 if (Collections.disjoint(a, b) != disjoint) in main()
68 if (Collections.disjoint(new HashSet<Integer>(a), b) in main()
69 != disjoint) in main()
71 if (Collections.disjoint(new HashSet<Integer>(a), in main()
72 new HashSet<Integer>(b)) != disjoint) in main()
/libcore/luni/src/test/java/libcore/java/util/
DOldCollectionsTest.java523 assertTrue(Collections.disjoint(c1, c2)); in test_Disjoint()
525 assertFalse(Collections.disjoint(c1, c2)); in test_Disjoint()
531 assertTrue(Collections.disjoint(c1, c2)); in test_Disjoint()
533 assertFalse(Collections.disjoint(c1, c2)); in test_Disjoint()
539 assertTrue(Collections.disjoint(c1, c2)); in test_Disjoint()
541 assertFalse(Collections.disjoint(c1, c2)); in test_Disjoint()
547 assertTrue(Collections.disjoint(c1, c2)); in test_Disjoint()
549 assertFalse(Collections.disjoint(c1, c2)); in test_Disjoint()
555 assertTrue(Collections.disjoint(c1, c2)); in test_Disjoint()
557 assertFalse(Collections.disjoint(c1, c2)); in test_Disjoint()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollections2Test.java350 assertTrue(Collections.disjoint(c1, c2)); in test_Disjoint()
352 assertFalse(Collections.disjoint(c1, c2)); in test_Disjoint()
358 assertTrue(Collections.disjoint(c1, c2)); in test_Disjoint()
360 assertFalse(Collections.disjoint(c1, c2)); in test_Disjoint()
366 assertTrue(Collections.disjoint(c1, c2)); in test_Disjoint()
368 assertFalse(Collections.disjoint(c1, c2)); in test_Disjoint()
374 assertTrue(Collections.disjoint(c1, c2)); in test_Disjoint()
376 assertFalse(Collections.disjoint(c1, c2)); in test_Disjoint()
382 assertTrue(Collections.disjoint(c1, c2)); in test_Disjoint()
384 assertFalse(Collections.disjoint(c1, c2)); in test_Disjoint()
[all …]
/libcore/ojluni/annotations/flagged_api/java/util/
DCollections.annotated.java171 public static boolean disjoint(java.util.Collection<?> c1, java.util.Collection<?> c2) { throw new … in disjoint() method in Collections
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java164 public static boolean disjoint(@libcore.util.NonNull java.util.Collection<?> c1, @libcore.util.NonN… in disjoint() method in Collections
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java375 public static boolean disjoint(java.util.Collection<?> c1, java.util.Collection<?> c2) { in disjoint() method in Collections
/libcore/ojluni/src/main/java/java/util/
DCollections.java5870 public static boolean disjoint(Collection<?> c1, Collection<?> c2) {
/libcore/api/
Dcurrent.txt13627 …method public static boolean disjoint(@NonNull java.util.Collection<?>, @NonNull java.util.Collect…