Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,677 for Collection (1.85 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileCollectionTest.groovy

        }
    
        void canConvertToCollectionTypes() {
            File file = new File("f1")
            TestFileCollection collection = new TestFileCollection(file)
    
            expect:
            collection as Collection == toList(file)
            collection as Set == toLinkedSet(file)
            collection as List == toList(file)
        }
    
        void toFileTreeReturnsSingletonTreeForEachFileInCollection() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFileCollectionFactoryTest.groovy

            expect:
            def collection = factory.fixed("some collection")
            collection.files.empty
            collection.buildDependencies.getDependencies(null).empty
            collection.visitStructure(new BrokenVisitor())
            collection.toString() == "some collection"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionTest.groovy

            collection.contains(file2)
        }
    
        def "does not contain file when no source collection contains file"() {
            def source1 = new TestFileCollection(file1)
            def source2 = new TestFileCollection(file2)
            def collection = new TestCompositeFileCollection(source1, source2)
    
            expect:
            !collection.contains(file3)
        }
    
        def "is empty when has no source collections"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        return Collections.unmodifiableCollection(collection);
      }
    
      @Override
      public void clear() {
        // Clear each collection, to make previously returned collections empty.
        for (Collection<V> collection : map.values()) {
          collection.clear();
        }
        map.clear();
        totalSize = 0;
      }
    
      // Views
    
      /**
       * {@inheritDoc}
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            when:
            collection.convention(src1)
            collection.from = src2
            collection.convention(src3 + collection)
            collection.from = collection + src4
    
            then:
            collection.files as List == [file2, file4]
            collection.explicit
    
            when:
            collection.unset()
            collection.convention(collection + src5)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionFactory.java

         *
         * <p>The collection is not live. The provided {@link Collection} is queried on construction and discarded.
         */
        FileCollectionInternal fixed(String displayName, Collection<File> files);
    
        /**
         * Creates a {@link FileCollection} with the given files as content.
         *
         * <p>The collection is live and resolves the files on each query.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        while (entryIterator.hasNext()) {
          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.<K, Collection<V>>immutableEntry(key, collection))) {
            if (collection.size() == entry.getValue().size()) {
              entryIterator.remove();
            } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.jar

    codehaus.plexus.PlexusContainer, String); public boolean add(Object); public void add(int, Object); public boolean addAll(java.util.Collection); public boolean addAll(int, java.util.Collection); public void clear(); public boolean remove(Object); public Object remove(int); public boolean removeAll(java.util.Collection); public boolean retainAll(java.util.Collection); public Object set(int, Object); protected final java.util.List checkedGetList() throws org.codehaus.plexus.component.repository.ex...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 15.6K bytes
    - Viewed (0)
  9. 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.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionStructureVisitor.java

            Visit,
            // Visitor is not interested in the contents of the collection, but would like to receive the source and other metadata
            NoContents
        }
    
        /**
         * Called when starting to visit a file collection. Can return true to continue with visiting or false to skip this collection and its contents.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top