Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 406 for duplicate (0.21 sec)

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

       * Indicates that the constructor or factory method of a collection, usually an immutable set,
       * throws an {@link IllegalArgumentException} when presented with duplicate elements instead of
       * collapsing them to a single element or including duplicate instances in the collection.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
      SUPPORTS_ADD,
      SUPPORTS_REMOVE,
      SUPPORTS_ITERATOR_REMOVE,
      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
    
      /**
    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. android/guava/src/com/google/common/collect/ImmutableSet.java

            hashTable = null;
            super.add(element);
            return this;
          }
        }
    
        /**
         * Adds each element of {@code elements} to the {@code ImmutableSet}, ignoring duplicate
         * elements (only the first duplicate element is added).
         *
         * @param elements the elements to add
         * @return this {@code Builder} object
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/and.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import (
    	"encoding/xml"
    )
    
    var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed")
    
    // And - a tag to combine a prefix and multiple tags for lifecycle configuration rule.
    type And struct {
    	XMLName               xml.Name `xml:"And"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedSet.java

            }
          }
          elements[n++] = element;
          return this;
        }
    
        /**
         * Adds each element of {@code elements} to the {@code ImmutableSortedSet}, ignoring duplicate
         * elements (only the first duplicate element is added).
         *
         * @param elements the elements to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code elements} contains a null element
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  5. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // for each duplicate field that is encountered. The request will
      // still succeed if there are no other errors, and will only persist
      // the last of any duplicate fields. This is the default in v1.23+
      // - Strict: This will fail the request with a BadRequest error if
      // any unknown fields would be dropped from the object, or if any
      // duplicate fields are present. The error returned from the server
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

         * and will cause {@link #build} to fail.
         */
        @CanIgnoreReturnValue
        public <T extends B> Builder<B> put(Class<T> key, T value) {
          mapBuilder.put(key, value);
          return this;
        }
    
        /**
         * Associates all of {@code map's} keys and values in the built map. Duplicate keys are not
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

      }
    
      @MapFeature.Require({ALLOWS_NULL_KEYS, REJECTS_DUPLICATES_AT_CREATION})
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nullDuplicatesRejected() {
        Entry<K, V>[] entries = getEntriesMultipleNullKeys();
        try {
          resetMap(entries);
          fail("Should reject duplicate null elements at creation");
        } catch (IllegalArgumentException expected) {
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

      }
    
      @MapFeature.Require({ALLOWS_NULL_KEYS, REJECTS_DUPLICATES_AT_CREATION})
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nullDuplicatesRejected() {
        Entry<K, V>[] entries = getEntriesMultipleNullKeys();
        try {
          resetMap(entries);
          fail("Should reject duplicate null elements at creation");
        } catch (IllegalArgumentException expected) {
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java

         * and will cause {@link #build} to fail.
         */
        @CanIgnoreReturnValue
        public <T extends B> Builder<B> put(Class<T> key, T value) {
          mapBuilder.put(TypeToken.of(key), value);
          return this;
        }
    
        /**
         * Associates {@code key} with {@code value} in the built map. Duplicate keys are not allowed,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 20:46:24 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/package-info.java

     *       only by the subtypes mentioned below.
     *   <dt>{@link ListMultimap}
     *   <dd>An extension of {@link Multimap} which permits duplicate entries, supports random access of
     *       values for a particular key, and has <i>partially order-dependent equality</i> as defined
     *       by {@link ListMultimap#equals(Object)}. {@code ListMultimap} takes its name from the fact
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
Back to top