- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for newKey (0.04 sec)
-
android/guava/src/com/google/common/collect/HashBiMap.java
* the position of the new key if it was previously present. */ private void replaceKeyInEntry(int entry, @ParametricNullness K newKey, boolean force) { checkArgument(entry != ABSENT); int newKeyHash = Hashing.smearedHash(newKey); int newKeyIndex = findEntryByKey(newKey, newKeyHash); int newPredecessor = lastInInsertionOrder; int newSuccessor = ENDPOINT; if (newKeyIndex != ABSENT) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
DocMap docMap = new DocMap(parentMap); assertNull(docMap.put("newKey", "newValue")); assertEquals("newValue", docMap.get("newKey")); assertEquals("newValue", docMap.put("newKey", "updatedValue")); assertEquals("updatedValue", docMap.get("newKey")); assertNull(docMap.get("nonexistent")); } public void test_remove() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
// Try to add new param paramMap.put("newKey", "newValue"); return paramMap.size(); } }); // Execute first time Object result1 = scriptExecutor.execute("modifyEngine", "script1"); assertEquals(2, result1); // executor + newKey // Execute second time - params should be fresh
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberRegistry.java
if (eventSubscribers == null) { CopyOnWriteArraySet<Subscriber> newSet = new CopyOnWriteArraySet<>(); eventSubscribers = MoreObjects.firstNonNull(subscribers.putIfAbsent(eventType, newSet), newSet); } eventSubscribers.addAll(eventMethodsInListener); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* @param <T> The type of the destination Bean. * @param src The source Bean. Must not be {@literal null}. * @param destClass The type of the destination Bean. Must not be {@literal null}. * @return The newly copied Bean. */ public static <T> T copyBeanToNewBean(final Object src, final Class<T> destClass) { return copyBeanToNewBean(src, destClass, DEFAULT_OPTIONS); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
* * <p>The returned array has all its elements set to their initial null values. However, we don't * declare it as {@code @Nullable ImmutableMapEntry[]} because our checker doesn't require newly * created arrays to have a {@code @Nullable} element type even when they're created directly with * {@code new ImmutableMapEntry[...]}, so it seems silly to insist on that only here. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0) -
README.md
should not use them for communication between trusted and untrusted code. 6. For the mainline flavor, we test the libraries using OpenJDK 8, 11, and 17 on Linux, with some additional testing on newer JDKs and on Windows. Some features, especially in `com.google.common.io`, may not work correctly in non-Linux environments. For the Android flavor, our unit tests also run on API level 23 (Marshmallow).
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 05 15:30:14 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
} /** * Provides a hint for how many values will be associated with each key newly added to the * builder after this call. This does not change semantics, but may improve performance if * {@code expectedValuesPerKey} is a good estimate. * * <p>This may be called more than once; each newly added key will use the most recent call to * {@link #expectedValuesPerKey} as its hint. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
if (existing != null) { return existing; } L created = supplier.get(); ArrayReference<L> newRef = new ArrayReference<>(created, index, queue); while (!locks.compareAndSet(index, existingRef, newRef)) { // we raced, we need to re-read and try again existingRef = locks.get(index); existing = existingRef == null ? null : existingRef.get();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
} @Override @CanIgnoreReturnValue Builder<K, V> combine(ImmutableMap.Builder<K, V> builder) { super.combine(builder); return this; } /** * Returns a newly-created immutable bimap. The iteration order of the returned bimap is the * order in which entries were inserted into the builder, unless {@link #orderEntriesByValue} * was called, in which case entries are sorted by value.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.2K bytes - Viewed (0)