- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 46 for setEntry (0.62 seconds)
-
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertEquals(1, segment.count); assertSame(newValue, segment.get(key, hash)); // cleared InternalEntry<Object, Object, ?> entry = segment.getEntry(key, hash); WeakValueReference<Object, Object, ?> oldValueRef = segment.newWeakValueReferenceForTesting(entry, oldValue); segment.setWeakValueReferenceForTesting(entry, oldValueRef);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 35.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java
@Override public int size() { return forward.size(); } @Override public ImmutableSortedSet<E> elementSet() { return forward.elementSet().descendingSet(); } @Override Entry<E> getEntry(int index) { return forward.entrySet().asList().reverse().get(index); } @Override public ImmutableSortedMultiset<E> descendingMultiset() { return forward; } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java
if (Files.isRegularFile(artifactPath)) { try (JarFile artifactJar = new JarFile(artifactPath.toFile(), false)) { ZipEntry pluginDescriptorEntry = artifactJar.getEntry(PLUGIN_DESCRIPTOR_LOCATION); if (pluginDescriptorEntry != null) { try (InputStream is = artifactJar.getInputStream(pluginDescriptorEntry)) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 7.8K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
* partially collected. */ @Nullable ReferenceEntry<K, V> getEntry(@Nullable Object key) { // does not impact recency ordering if (key == null) { return null; } int hash = hash(key); return segmentFor(hash).getEntry(key, hash); } void refresh(K key) { int hash = hash(checkNotNull(key));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 19:35:11 GMT 2025 - 148.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
protected Entry<K, V> get(int index) { return getEntry(index); } }; } @Override @GwtIncompatible("Spliterator") Spliterator<Entry<K, V>> entrySpliterator() { return CollectSpliterators.indexed( size(), Spliterator.ORDERED | Spliterator.DISTINCT | Spliterator.NONNULL, this::getEntry); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 26.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
} else if (range2.contains(i)) { expectedEntry = immutableEntry(range2, 2); } assertEquals(expectedEntry, rangeMap.getEntry(i)); } } } } } public void testGetLargeRangeMap() { ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 9.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java
@Override public ImmutableSet<E> elementSet() { ImmutableSet<E> result = elementSet; return (result == null) ? elementSet = new ElementSet<>(entries, this) : result; } @Override Entry<E> getEntry(int index) { return entries.get(index); } @Override boolean isPartialView() { return false; } @Override public int size() { return Ints.saturatedCast(size); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RangeMap.java
@Nullable V get(K key); /** * Returns the range containing this key and its associated value, if such a range is present in * the range map, or {@code null} otherwise. */ @Nullable Entry<Range<K>, V> getEntry(K key); /** * Returns the minimal range {@linkplain Range#encloses(Range) enclosing} the ranges in this * {@code RangeMap}. * * @throws NoSuchElementException if this range map is empty */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
} }; } @Override final Iterator<Entry<E>> entryIterator() { return new Itr<Entry<E>>() { @Override Entry<E> result(int entryIndex) { return backingMap.getEntry(entryIndex); } }; } /** Allocation-free implementation of {@code target.addAll(this)}. */ void addTo(Multiset<? super E> target) { checkNotNull(target);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 7.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
} abstract Entry<E> getEntry(int index); @WeakOuter private final class EntrySet extends IndexedImmutableSet<Entry<E>> { @Override boolean isPartialView() { return ImmutableMultiset.this.isPartialView(); } @Override Entry<E> get(int index) { return getEntry(index); } @Override public int size() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 20.6K bytes - Click Count (0)