- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 426 for duplicate_ (0.19 seconds)
-
guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
SUPPORTS_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION, /** * Indicates that the constructor or factory method of a map, usually an immutable map, throws an * {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all * but one. */ REJECTS_DUPLICATES_AT_CREATION, GENERAL_PURPOSE(SUPPORTS_PUT, SUPPORTS_REMOVE); private final Set<Feature<? super Map>> implied;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetMultimapPutTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> { // Tests for non-duplicate values are in MultimapPutTester @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutDuplicateValuePreservesSize() { assertFalse(multimap().put(k0(), v0()));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* elements. * * <p>The collections created by {@link #createCollection()} may or may not allow duplicates. If the * collection, such as a {@link Set}, does not support duplicates, an added key-value pair will * replace an existing pair with the same key and value, if such a pair is present. With collections * like {@link List} that allow duplicates, the collection will keep the existing key-value pairs * while adding a new pair. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Aug 12 15:51:57 GMT 2025 - 46.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListMultimapPutTester<K, V> extends AbstractListMultimapTester<K, V> { // MultimapPutTester tests non-duplicate values, but ignores ordering @MapFeature.Require(SUPPORTS_PUT) public void testPutAddsValueAtEnd() { for (K key : sampleKeys()) { for (V value : sampleValues()) { resetContainer();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java
requireNonNull(type, "type"); requireNonNull(component, "component"); if (components.put(type, component) != null) { throw new IllegalStateException("Duplicate mapping for type: " + type.getName()); } return this; } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
docs/sts/client_grants/__init__.py
return None def _create_credentials_fetcher(self): method = self.METHOD def fetch_credentials(): # HTTP headers are case insensitive filter out # all duplicate headers and pick one. headers = {} headers['content-type'] = 'application/x-www-form-urlencoded' headers['authorization'] = urllib3.make_headers(Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 4.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java
public void testLastIndexOf_duplicate() { E[] array = createSamplesArray(); array[getNumElements() / 2] = e0(); collection = getSubjectGenerator().create(array); assertEquals( "lastIndexOf(duplicate) should return index of last occurrence", getNumElements() / 2, getList().lastIndexOf(e0())); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.2K bytes - Click Count (0) -
docs/en/docs/tutorial/extra-data-types.md
* `frozenset`: * In requests and responses, treated the same as a `set`: * In requests, a list will be read, eliminating duplicates and converting it to a `set`. * In responses, the `set` will be converted to a `list`. * The generated schema will specify that the `set` values are unique (using JSON Schema's `uniqueItems`). * `bytes`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
import java.util.Map.Entry; import java.util.NoSuchElementException; import java.util.Objects; import java.util.Set; import org.jspecify.annotations.Nullable; /** * Implementation of {@code Multimap} that does not allow duplicate key-value entries and that * returns collections whose iterators follow the ordering in which the data was added to the * multimap. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 19.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedHashMultimap.java
import java.util.Spliterator; import java.util.Spliterators; import java.util.function.Consumer; import org.jspecify.annotations.Nullable; /** * Implementation of {@code Multimap} that does not allow duplicate key-value entries and that * returns collections whose iterators follow the ordering in which the data was added to the * multimap. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 20K bytes - Click Count (0)