Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,299 for collections (0.08 sec)

  1. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

         * that should be registered. The returned collection should contain all the enum values
         * that this provider wants to contribute.
         * <p>
         * The values returned by this method should be created using the appropriate factory methods
         * for the specific enum type, such as {@code language()}, {@code projectScope()}, or
         * {@code pathScope()}.
         *
         * @return a non-null collection of enum instances to register
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

                    public int size() {
                        return 0;
                    }
                };
            }
        };
    
        static <E1, E2 extends E1> List<E1> copy(Collection<E2> collection) {
            return collection == null ? List.of() : List.copyOf(collection);
        }
    
        static <K, V> Map<K, V> copy(Map<K, V> map) {
            if (map == null) {
                return emptyMap();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        /**
         * Returns an immutable collection of attached artifacts for the given project.
         * Attached artifacts are secondary artifacts produced during the build (e.g., sources jar,
         * javadoc jar, test jars). These artifacts are created and attached during specific
         * lifecycle phases, so the collection contents depend on the build phase when this method
         * is called.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

      }
    
      private boolean runCollectionTests = true;
    
      /**
       * Specify whether to skip the general collection tests. Call this method when testing a
       * collection that's both a queue and a list, to avoid running the common collection tests twice.
       * By default, collection tests do run.
       */
      @CanIgnoreReturnValue
      public QueueTestSuiteBuilder<E> skipCollectionTests() {
        runCollectionTests = false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java

      public void testRetainAll_duplicatesKept() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
        assertFalse(
            "containsDuplicates.retainAll(superset) should return false",
            collection.retainAll(MinimalCollection.of(createSamplesArray())));
        expectContents(array);
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      /**
       * Returns an iterable whose iterator returns the given elements in order. The elements are copied
       * out of the source collection at the time this method is called.
       */
      @SuppressWarnings("unchecked") // Es come in, Es go out
      public static <E extends @Nullable Object> MinimalIterable<E> from(Collection<E> elements) {
        return (MinimalIterable) of(elements.toArray());
      }
    
      private @Nullable Iterator<E> iterator;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        }
        return derivedSuites;
      }
    
      private static final class ReserializedSetGenerator<E> implements TestSetGenerator<E> {
        final OneSizeTestContainerGenerator<Collection<E>, E> gen;
    
        private ReserializedSetGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          @SuppressWarnings("unchecked")
          V[] valuesArray = (V[]) elements;
    
          // Start with a suitably shaped collection of entries
          Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length);
    
          // Create a copy of that, with the desired value for each value
          Collection<Entry<K, V>> entries = new ArrayList<>(elements.length);
          int i = 0;
          for (Entry<K, V> entry : originalEntries) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.8K bytes
    - Viewed (2)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java

      public void testForEachUnknownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        Helpers.assertEqualIgnoringOrder(asList(createSamplesArray()), elements);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testForEachKnownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        List<E> expected = Helpers.copyToList(getOrderedElements());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. docs/bucket/notifications/README.md

    password             (string)    MQTT password
    qos                  (number)    set the quality of service priority, defaults to '0'
    keep_alive_interval  (duration)  keep-alive interval for MQTT connections in s,m,h,d
    reconnect_interval   (duration)  reconnect interval for MQTT connections in s,m,h,d
    queue_dir            (path)      staging dir for undelivered messages e.g. '/home/events'
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 84.2K bytes
    - Viewed (0)
Back to top