Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,313 for Collection (0.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

            "containsAll(sameElements) should return true",
            collection.containsAll(MinimalCollection.of(createSamplesArray())));
      }
    
      @SuppressWarnings("ModifyingCollectionWithItself")
      public void testContainsAll_self() {
        assertTrue("containsAll(this) should return true", collection.containsAll(collection));
      }
    
      public void testContainsAll_partialOverlap() {
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

                @Nonnull
                private final Collection<? extends ArtifactCoordinates> coordinates;
    
                @Nullable
                private final List<RemoteRepository> repositories;
    
                DefaultArtifactResolverRequest(
                        @Nonnull Session session,
                        @Nonnull Collection<? extends ArtifactCoordinates> coordinates,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/Collections2Test.java

      public void testPermutationSetEmpty() {
        Collection<List<Integer>> permutationSet =
            Collections2.permutations(Collections.<Integer>emptyList());
    
        assertEquals(1, permutationSet.size());
        assertTrue(permutationSet.contains(Collections.<Integer>emptyList()));
    
        Iterator<List<Integer>> permutations = permutationSet.iterator();
        assertNextPermutation(Collections.<Integer>emptyList(), permutations);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java

        Collection<V> result = multimap().asMap().get(k0());
        assertTrue(result.remove(v0()));
        assertFalse(multimap().containsEntry(k0(), v0()));
        assertEquals(2, multimap().size());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testPropagatesRemoveLastElementToMultimap() {
        Collection<V> result = multimap().asMap().get(k0());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

        return suite;
      }
    
      protected Collection<Method> suppressForArrayDeque() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForLinkedList() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForArrayBlockingQueue() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForConcurrentLinkedQueue() {
        return emptySet();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Chars.java

       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       */
      public static char[] toArray(Collection<Character> collection) {
        if (collection instanceof CharArrayAsList) {
          return ((CharArrayAsList) collection).toCharArray();
        }
    
        Object[] boxedArray = collection.toArray();
        int len = boxedArray.length;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

    import org.eclipse.aether.RepositorySystem;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.collection.DependencyGraphTransformer;
    import org.eclipse.aether.collection.DependencyManager;
    import org.eclipse.aether.collection.DependencySelector;
    import org.eclipse.aether.collection.DependencyTraverser;
    import org.eclipse.aether.internal.impl.SimpleLocalRepositoryManagerFactory;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/BaseRequest.java

                throw new IllegalArgumentException(message);
            }
            return obj;
        }
    
        protected static <T> Collection<T> unmodifiable(Collection<T> obj) {
            return obj != null && !obj.isEmpty()
                    ? Collections.unmodifiableCollection(new ArrayList<>(obj))
                    : Collections.emptyList();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      @Override
      public boolean add(E element) {
        return delegate.add(checkValid(element));
      }
    
      @Override
      public boolean addAll(Collection<? extends E> collection) {
        for (E e : collection) {
          checkValid(e);
        }
        return delegate.addAll(collection);
      }
    
      @Override
      public @Nullable E ceiling(E e) {
        return delegate.ceiling(checkValid(e));
      }
    
      @Override
      public void clear() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
        assertTrue(collection.contains(element)); // sanity check
        iterator.remove();
        assertFalse(collection.contains(element));
        assertEquals(originalSize - 1, collection.size());
      }
    
      @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_ITERATOR_REMOVE})
      public void testIterator_knownOrderRemoveSupported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top