Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,314 for collectionOf (0.37 sec)

  1. android/guava/src/com/google/common/collect/AbstractMultimap.java

        for (Collection<V> collection : asMap().values()) {
          if (collection.contains(value)) {
            return true;
          }
        }
    
        return false;
      }
    
      @Override
      public boolean containsEntry(@CheckForNull Object key, @CheckForNull Object value) {
        Collection<V> collection = asMap().get(key);
        return collection != null && collection.contains(value);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

    import com.google.common.testing.ClassSanityTester;
    import com.google.common.util.concurrent.MoreExecutors.Application;
    import java.lang.Thread.State;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.concurrent.ArrayBlockingQueue;
    import java.util.concurrent.BlockingQueue;
    import java.util.concurrent.Callable;
    import java.util.concurrent.CountDownLatch;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.SortedSet;
    
    /**
     * Create integer sets for testing collections that are sorted by natural ordering.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testHashCode_containingNull() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        int expectedHashCode = 0;
        for (E element : elements) {
          expectedHashCode += ((element == null) ? 0 : element.hashCode());
        }
    
        elements.add(null);
        collection = getSubjectGenerator().create(elements.toArray());
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

    /**
     * A result of collecting, flattening and resolving {@link DependencyCoordinates}s.
     * Dependency is the output of the <dfn>collection</dfn> process, which builds the graph of dependencies,
     * followed by <dfn>flattening</dfn> and <dfn>resolution</dfn>.
     * The version selection is done for each dependency during the collection phase.
     * The flatten phase will keep only a single version per ({@code groupId}, {@code artifactId}) pair.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
        @Override
        public boolean remove(Object object) {
          return standardRemove(object);
        }
    
        @Override
        public boolean removeAll(Collection<?> collection) {
          return standardRemoveAll(collection);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

    import com.google.common.collect.Synchronized.SynchronizedCollection;
    import com.google.common.collect.Synchronized.SynchronizedSet;
    import com.google.common.testing.SerializableTester;
    import java.io.Serializable;
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        }
        return derivedSuites;
      }
    
      static class ReserializedListGenerator<E> implements TestListGenerator<E> {
        final OneSizeTestContainerGenerator<Collection<E>, E> gen;
    
        private ReserializedListGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractMultiset.java

       * Multiset}.
       */
      @CanIgnoreReturnValue
      @Override
      public final boolean addAll(Collection<? extends E> elementsToAdd) {
        return Multisets.addAllImpl(this, elementsToAdd);
      }
    
      @CanIgnoreReturnValue
      @Override
      public final boolean removeAll(Collection<?> elementsToRemove) {
        return Multisets.removeAllImpl(this, elementsToRemove);
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.extractor.impl;
    
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top