Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,314 for collectionOf (0.1 sec)

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

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singleton;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java

        assertTrue("contains(present) should return true", collection.contains(e0()));
      }
    
      public void testContains_no() {
        assertFalse("contains(notPresent) should return false", collection.contains(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testContains_nullNotContainedButQueriesSupported() {
        assertFalse("contains(null) should return false", collection.contains(null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

     */
    package org.codelibs.core.beans.impl;
    
    import static java.util.Collections.unmodifiableCollection;
    import static org.codelibs.core.collection.CollectionsUtil.newArrayList;
    import static org.codelibs.core.collection.CollectionsUtil.newHashMap;
    import static org.codelibs.core.collection.CollectionsUtil.newHashSet;
    import static org.codelibs.core.lang.GenericsUtil.getActualClass;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            return clone;
        }
    
        /**
         * Copy artifact to a collection.
         *
         * @param <T> the target collection type
         * @param from an artifact collection
         * @param to the target artifact collection
         * @return <code>to</code> collection
         */
        public static <T extends Collection<Artifact>> T copyArtifacts(Collection<Artifact> from, T to) {
            for (Artifact artifact : from) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMap.java

    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.Arrays;
    import java.util.BitSet;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.EnumMap;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    import java.util.SortedMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsWebConfigCQ.java

            not(not -> not.setId_Term(id), opLambda);
        }
    
        public void setId_Terms(Collection<String> idList) {
            setId_Terms(idList, null);
        }
    
        public void setId_Terms(Collection<String> idList, ConditionOptionCall<IdsQueryBuilder> opLambda) {
            IdsQueryBuilder builder = regIdsQ(idList);
            if (opLambda != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java

         * @throws ArtifactNotFoundException if an artifact is not found
         */
        Set<Artifact> resolve(
                MavenProject project,
                Collection<String> scopesToCollect,
                Collection<String> scopesToResolve,
                MavenSession session)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testSpliteratorUnknownOrder() {
        SpliteratorTester.of(collection::spliterator).expect(getSampleElements());
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testSpliteratorKnownOrder() {
        SpliteratorTester.of(collection::spliterator).expect(getOrderedElements()).inOrder();
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            Set<Artifact> artifactDependencies =
                resolver.resolve( project, Collections.singleton( Artifact.SCOPE_COMPILE ), session );
            assertEquals( 0, artifactDependencies.size() );
    
            artifactDependencies = resolver.resolve( project, Collections.singleton( Artifact.SCOPE_RUNTIME ), session );
            assertEquals( 1, artifactDependencies.size() );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              // All collections are immutable empty. So safe for any type parameter.
              .put(Iterator.class, ImmutableSet.of().iterator())
              .put(PeekingIterator.class, Iterators.peekingIterator(ImmutableSet.of().iterator()))
              .put(ListIterator.class, ImmutableList.of().listIterator())
              .put(Iterable.class, ImmutableSet.of())
              .put(Collection.class, ImmutableList.of())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top