Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,439 for collection (0.35 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      /**
       * For documenting collections that support no optional features, such as {@link
       * java.util.Collections#emptySet}
       */
      NONE;
    
      private final Set<Feature<? super Collection>> implied;
    
      CollectionFeature(Feature<? super Collection>... implied) {
        this.implied = Helpers.copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Collection>> getImpliedFeatures() {
        return implied;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          implements TestMapGenerator<String, Collection<Integer>> {
    
        @Override
        public SampleElements<Entry<String, Collection<Integer>>> samples() {
          return new SampleElements<>(
              mapEntry("one", collectionOf(10000)),
              mapEntry("two", collectionOf(-2000)),
              mapEntry("three", collectionOf(300)),
              mapEntry("four", collectionOf(-40)),
              mapEntry("five", collectionOf(5)));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DependencyContext.java

        private final Collection<String> scopesToCollectForCurrentProject;
    
        private final Collection<String> scopesToResolveForCurrentProject;
    
        private final Collection<String> scopesToCollectForAggregatedProjects;
    
        private final Collection<String> scopesToResolveForAggregatedProjects;
    
        private volatile Collection<?> lastDependencyArtifacts = Collections.emptyList();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

          return Sets.unmodifiableNavigableSet((NavigableSet<E>) collection);
        } else {
          return Collections.unmodifiableSortedSet((SortedSet<E>) collection);
        }
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        if (collection instanceof NavigableSet) {
          return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null);
        } else {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

          return Sets.unmodifiableNavigableSet((NavigableSet<E>) collection);
        } else {
          return Collections.unmodifiableSortedSet((SortedSet<E>) collection);
        }
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        if (collection instanceof NavigableSet) {
          return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null);
        } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top