Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,324 for collection (0.49 sec)

  1. guava/src/com/google/common/collect/FilteredEntryMultimap.java

          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty() && predicate.apply(Maps.immutableEntry(key, collection))) {
            if (collection.size() == entry.getValue().size()) {
              entryIterator.remove();
            } else {
              collection.clear();
            }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

       */
      protected AbstractSetMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      abstract Set<V> createCollection();
    
      @Override
      Set<V> createUnmodifiableEmptyCollection() {
        return Collections.emptySet();
      }
    
      @Override
      <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
        return Collections.unmodifiableSet((Set<E>) collection);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.8K bytes
    - Viewed (0)
  3. android/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<>();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/package-info.java

     * limitations under the License.
     */
    
    /**
     * Collection interfaces and implementations, and other utilities for collections. This package is a
     * part of the open-source <a href="https://github.com/google/guava">Guava</a> library.
     *
     * <p>The classes in this package include:
     *
     * <h2>Immutable collections</h2>
     *
     * These are collections whose contents will never change. They also offer a few additional
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingCollection.java

      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        return delegate().containsAll(collection);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean addAll(Collection<? extends E> collection) {
        return delegate().addAll(collection);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean retainAll(Collection<?> collection) {
        return delegate().retainAll(collection);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 8.2K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

          Map<Element, Element> create(Collection<Element> keys) {
            return Collections.unmodifiableMap(Hash.create(keys));
          }
        },
        SyncHM {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
            return Collections.synchronizedMap(Hash.create(keys));
          }
        },
        Tree {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimap.java

       */
      Collection<V> values();
    
      /**
       * Returns a view collection of all key-value pairs contained in this multimap, as {@link Entry}
       * instances.
       *
       * <p>Changes to the returned collection or the entries it contains will update the underlying
       * multimap, and vice versa. However, <i>adding</i> to the returned collection is not possible.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

      }
    
      protected Collection<Method> suppressForConcurrentLinkedDeque() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForConcurrentLinkedQueue() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForLinkedBlockingDeque() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForLinkedBlockingQueue() {
        return Collections.emptySet();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractSetMultimap.java

       */
      protected AbstractSetMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      abstract Set<V> createCollection();
    
      @Override
      Set<V> createUnmodifiableEmptyCollection() {
        return Collections.emptySet();
      }
    
      @Override
      <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
        return Collections.unmodifiableSet((Set<E>) collection);
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.8K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                throws ArtifactResolutionException, ArtifactNotFoundException {
            return resolve(Collections.singleton(project), scopesToResolve, session);
        }
    
        public Set<Artifact> resolve(
                MavenProject project,
                Collection<String> scopesToCollect,
                Collection<String> scopesToResolve,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8.4K bytes
    - Viewed (0)
Back to top