- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 172 for duplicate (0.25 sec)
-
android/guava/src/com/google/common/collect/RegularImmutableMap.java
// If there are no duplicate keys, hashTablePlus is the final hashTable value. If there *are* // duplicate keys, hashTablePlus consists of 3 elements: [0] the hashTable; [1] the number of // entries in alternatingKeysAndValues that are still valid after rewriting to remove // duplicates; [2] a Builder.DuplicateKey that records the first duplicate key we encountered
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 15 22:32:14 GMT 2024 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* Associates {@code key} with {@code value} in the built bimap. Duplicate keys or values are * not allowed, and will cause {@link #build} to fail. */ @CanIgnoreReturnValue @Override public Builder<K, V> put(K key, V value) { super.put(key, value); return this; } /** * Adds the given {@code entry} to the bimap. Duplicate keys or values are not allowed, and will
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 22.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
public final E[] elements; public final E duplicate; private ArrayWithDuplicate(E[] elements, E duplicate) { this.elements = elements; this.duplicate = duplicate; } } /** * @return an array of the proper size with a duplicate element. The size must be at least three. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
@Nullable Object[] alternatingKeysAndValues; int size; boolean entriesUsed; /** * If non-null, a duplicate key we found in a previous buildKeepingLast() or buildOrThrow() * call. A later buildOrThrow() can simply report this duplicate immediately. */ @Nullable DuplicateKey duplicateKey; /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java
.suppressing(SetCreationTester.class.getMethods()) // BiMap.entrySet() duplicate-handling behavior is too confusing for SetCreationTester .withSetUp(parentBuilder.getSetUp()) .withTearDown(parentBuilder.getTearDown()) .createTestSuite()); /* * TODO(cpovirk): the Map tests duplicate most of this effort by using a
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 6.8K bytes - Viewed (0) -
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) -
guava-tests/test/com/google/common/collect/ImmutableMapFloodingTest.java
Map<Object, Object> sourceMap = new LinkedHashMap<>(); for (Object k : keys) { if (sourceMap.put(k, "dummy value") != null) { throw new UnsupportedOperationException("duplicate key"); } } return ImmutableMap.copyOf(sourceMap); } }, COPY_OF_ENTRIES { @Override public Map<Object, Object> create(List<?> keys) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
public void testRemoveAll_duplicate() { ArrayWithDuplicate<E> arrayAndDuplicate = createArrayWithDuplicateElement(); collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true", getList().removeAll(MinimalCollection.of(duplicate))); assertFalse(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
public void testRemoveAll_duplicate() { ArrayWithDuplicate<E> arrayAndDuplicate = createArrayWithDuplicateElement(); collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true", getList().removeAll(MinimalCollection.of(duplicate))); assertFalse(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 2.3K bytes - Viewed (0) -
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)