Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,740 for collection (0.17 sec)

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

            UnsupportedOperationException.class,
            () -> collection.removeAll(MinimalCollection.of(e0())));
        expectUnchanged();
        assertTrue(collection.contains(e0()));
      }
    
      /*
       * AbstractCollection fails the removeAll(null) test when the subject
       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            trail.add(result.getId());
            result.setDependencyTrail(trail);
    
            return result;
        }
    
        public static void toArtifacts(
                Collection<org.apache.maven.artifact.Artifact> artifacts,
                Collection<? extends DependencyNode> nodes,
                List<String> trail,
                DependencyFilter filter) {
            for (DependencyNode node : nodes) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

        return emptySet();
      }
    
      private Collection<Method> suppressForEmptySortedMap() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForSingletonMap() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForHashMap() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForHashtable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSizeTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractCollectionTester;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code size()} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMultimapAsMapImplementsMapTest.java

      public ImmutableMultimapAsMapImplementsMapTest() {
        super(false, false, false);
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        return ImmutableMultimap.<String, Integer>of().asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> delegate = HashMultimap.create();
        populate(delegate);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java

        super(true, true, true);
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        return Multimaps.transformValues(
                ArrayListMultimap.<String, Integer>create(), Functions.<Integer>identity())
            .asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        ListMultimap<String, Integer> delegate = ArrayListMultimap.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

        checkNotNull(collection);
        return (collection instanceof EnumSet)
            ? EnumSet.complementOf((EnumSet<E>) collection)
            : makeComplementByHand(collection, type);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      private static <E extends Enum<E>> EnumSet<E> makeComplementByHand(
          Collection<E> collection, Class<E> type) {
        EnumSet<E> result = EnumSet.allOf(type);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

      public interface CollectionsImplEnum {
        <E extends Comparable<E>> Collection<E> create(Collection<E> contents);
    
        String name();
      }
    
      public interface MapsImplEnum {
        <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> contents);
    
        String name();
      }
    
      public interface InternerImplEnum {
        <E> Interner<E> create(Collection<E> contents);
    
        String name();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. src/test/resources/data/gsaconfig.xml

                  ]]></testwords>
    			</collection>
    			<collection Name="n2sm">
    				<bad_urls><![CDATA[
    contains:\\.xml$
                  ]]></bad_urls>
    				<good_urls><![CDATA[
    https://www.n2sm.net/
                  ]]></good_urls>
    				<prerequisite_results><![CDATA[
    20
                  ]]></prerequisite_results>
    				<testwords><![CDATA[
    
                  ]]></testwords>
    			</collection>
    			<collection Name="smb">
    				<bad_urls><![CDATA[
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun May 13 06:51:57 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * </ol>
       *
       * @param collection the presumed-immutable collection
       * @param sampleElement an element of the same type as that contained by {@code collection}.
       *     {@code collection} may or may not have {@code sampleElement} as a member.
       */
      public static <E extends @Nullable Object> void assertCollectionIsUnmodifiable(
          Collection<E> collection, E sampleElement) {
        Collection<E> siblingCollection = new ArrayList<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top