Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 107 for containsAll (0.12 seconds)

  1. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        Collection<?> expectedValues = expected.values();
        Collection<?> mapValues = map.values();
        assertEquals(expectedValues.size(), mapValues.size());
        assertTrue(expectedValues.containsAll(mapValues));
        assertTrue(mapValues.containsAll(expectedValues));
      }
    
      public void testTransformEmptyMapEquality() {
        Map<String, String> map =
            transformValues(ImmutableMap.<String, Integer>of(), Functions.toStringFunction());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
          assertTrue(set.containsAll(subset));
        }
        for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
          assertFalse(set.containsAll(Sets.union(subset, ImmutableSet.of(9))));
        }
      }
    
      // TODO: https://youtrack.jetbrains.com/issue/KT-71001/ - Enable when Kotlin throws expected CCE.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ConcurrencyDependencyGraph.java

                final List<MavenProject> upstreamProjects =
                        projectDependencyGraph.getUpstreamProjects(dependentProject, false);
                if (finishedProjects.containsAll(upstreamProjects)) {
                    result.add(dependentProject);
                }
            }
    
            // Sort newly schedulable projects by critical path priority
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/net/MediaType.java

        return (mediaTypeRange.type.equals(WILDCARD) || mediaTypeRange.type.equals(this.type))
            && (mediaTypeRange.subtype.equals(WILDCARD) || mediaTypeRange.subtype.equals(this.subtype))
            && this.parameters.entries().containsAll(mediaTypeRange.parameters.entries());
      }
    
      /**
       * Creates a new media type with the given type and subtype.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            assertFalse(qrList.contains(doc2));
    
            List<Map<String, Object>> checkList = Arrays.asList(doc1);
            assertTrue(qrList.containsAll(checkList));
    
            checkList = Arrays.asList(doc1, doc2);
            assertFalse(qrList.containsAll(checkList));
        }
    
        @Test
        public void test_listOperations_indexOperations() {
            List<Map<String, Object>> documentList = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 40.1K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        try {
          requirements = FeatureUtil.getTesterRequirements(method);
        } catch (ConflictingRequirementsException e) {
          throw new RuntimeException(e);
        }
        if (!features.containsAll(requirements.getPresentFeatures())) {
          if (logger.isLoggable(FINER)) {
            Set<Feature<?>> missingFeatures = copyToSet(requirements.getPresentFeatures());
            missingFeatures.removeAll(features);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        try {
          requirements = FeatureUtil.getTesterRequirements(method);
        } catch (ConflictingRequirementsException e) {
          throw new RuntimeException(e);
        }
        if (!features.containsAll(requirements.getPresentFeatures())) {
          if (logger.isLoggable(FINER)) {
            Set<Feature<?>> missingFeatures = copyToSet(requirements.getPresentFeatures());
            missingFeatures.removeAll(features);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
        values.removeAll(Lists.newArrayList(2));
        assertEquals(values.size(), mmHeap.size());
        assertTrue(values.containsAll(mmHeap));
        assertTrue(mmHeap.containsAll(values));
      }
    
      public void testIteratorInvalidatingIteratorRemove() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

                final Map<String, Set<Class<?>>> testClassesPerTask = classFilesPerTask.entrySet()
                    .stream()
                    .filter(entry -> testSourceSetFiles.containsAll(entry.getValue()))
                    .collect(
                        Collectors.toMap(
                            Map.Entry::getKey,
                            entry -> entry.getValue()
                                .stream()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        ImmutableSortedSet<Integer> asSet = RANGE_SET_ONE.asSet(DiscreteDomain.integers());
        assertEquals(expectedSet, asSet);
        assertThat(asSet).containsExactlyElementsIn(expectedSet).inOrder();
        assertTrue(asSet.containsAll(expectedSet));
        SerializableTester.reserializeAndAssert(asSet);
      }
    
      public void testAsSetHeadSet() {
        ImmutableSortedSet<Integer> expectedSet = ImmutableSortedSet.of(2, 3, 4, 8, 9, 16, 17);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 21.7K bytes
    - Click Count (0)
Back to Top