- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 117 for duplicates (0.06 sec)
-
guava/src/com/google/common/collect/RegularImmutableMap.java
/** * Constructs a new entry array where each duplicated key from the original appears only once, at * its first position but with its final value. The {@code duplicates} map is modified. * * @param entries the original array of entries including duplicates * @param n the number of valid entries in {@code entries} * @param newN the expected number of entries once duplicates are removed
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
// TODO(cpovirk): Consider using Object[] anyway. E[] array = (E[]) elements.toArray(); /* * For a Set, we guess that it contains no duplicates. That's just a guess for purpose of * sizing; if the Set uses different equality semantics, it might contain duplicates according * to equals(), and we will deduplicate those properly, albeit at some cost in allocations. */ int expectedSize =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimap.java
// Modification Operations /** * Stores a key-value pair in this multimap. * * <p>Some multimap implementations allow duplicate key-value pairs, in which case {@code put} * always adds a new key-value pair and increases the multimap size by 1. Other implementations * prohibit duplicates, and storing a key-value pair that's already in the multimap has no effect. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 15.7K bytes - Viewed (0) -
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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
} } /** * Scans the first {@code size} elements of {@code entries} looking for duplicate keys. If * duplicates are found, a new correctly-sized array is returned with the same elements (up to * {@code size}), except containing only the last occurrence of each duplicate key. Otherwise * {@code null} is returned. */ private static <K, V> Entry<K, V> @Nullable [] lastEntryForEachKey(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
/** * Returns a {@code Collector} that accumulates the input elements into a new {@code * ImmutableSortedSet}, ordered by the specified comparator. * * <p>If the elements contain duplicates (according to the comparator), only the first duplicate * in encounter order will appear in the result. * * @since 33.2.0 (available since 21.0 in guava-jre) */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java
Map<String, String> queryMap = facetQueryView.getQueryMap(); // Should not duplicate existing pdf query assertEquals("filetype:pdf", queryMap.get("existing_pdf")); // Should add doc since it's not present assertEquals("filetype:doc", queryMap.get("DOC")); // Check no duplicate queries added to FacetInfo List<String> addedQueries = testFacetInfo.getAddedQueries();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K 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; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
* collection in unspecified order. * * @param collection the elements that the set should contain * @return a new {@code CompactHashSet} containing those elements (minus duplicates) */ public static <E extends @Nullable Object> CompactHashSet<E> create( Collection<? extends E> collection) { CompactHashSet<E> set = createWithExpectedSize(collection.size()); set.addAll(collection);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 23.9K bytes - Viewed (0)