- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for checkNoConflict (0.11 sec)
-
guava/src/com/google/common/collect/RegularImmutableMap.java
int bucketSize = 0; for (; keyBucketHead != null; keyBucketHead = keyBucketHead.getNextInKeyBucket()) { if (keyBucketHead.getKey().equals(key)) { if (throwIfDuplicateKeys) { checkNoConflict(/* safe= */ false, "key", keyBucketHead, key + "=" + newValue); } else { return keyBucketHead; } } if (++bucketSize > MAX_HASH_BUCKET_LENGTH) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 16.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
throws BucketOverflowException { int bucketSize = 0; for (; valueBucketHead != null; valueBucketHead = valueBucketHead.getNextInValueBucket()) { checkNoConflict(!value.equals(valueBucketHead.getValue()), "value", entry, valueBucketHead); if (++bucketSize > MAX_HASH_BUCKET_LENGTH) { throw new BucketOverflowException(); } } } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
*/ public static <K, V> Builder<K, V> builderWithExpectedSize(int expectedSize) { checkNonnegative(expectedSize, "expectedSize"); return new Builder<>(expectedSize); } static void checkNoConflict( boolean safe, String conflictDescription, Object entry1, Object entry2) { if (!safe) { throw conflictException(conflictDescription, entry1, entry2); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
*/ public static <K, V> Builder<K, V> builderWithExpectedSize(int expectedSize) { checkNonnegative(expectedSize, "expectedSize"); return new Builder<>(expectedSize); } static void checkNoConflict( boolean safe, String conflictDescription, Object entry1, Object entry2) { if (!safe) { throw conflictException(conflictDescription, entry1, entry2); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
K key = entry.getKey(); V value = entry.getValue(); checkEntryNotNull(key, value); keys[i] = key; values[i] = value; checkNoConflict(comparator.compare(prevKey, key) != 0, "key", prevEntry, entry); prevKey = key; } } return new ImmutableSortedMap<>(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
K key = entry.getKey(); V value = entry.getValue(); checkEntryNotNull(key, value); keys[i] = key; values[i] = value; checkNoConflict(comparator.compare(prevKey, key) != 0, "key", prevEntry, entry); prevKey = key; } } return new ImmutableSortedMap<>(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0)