- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 36 for getIntro (0.1 sec)
-
guava/src/com/google/common/collect/Interners.java
while (true) { // trying to read the canonical... @SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :( InternalEntry entry = map.getEntry(sample); if (entry != null) { Object canonical = entry.getKey(); if (canonical != null) { // only matters if weak/soft keys are used
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
* collected. Does not impact recency ordering. */ @CheckForNull E getEntry(@CheckForNull Object key) { if (key == null) { return null; } int hash = hash(key); return segmentFor(hash).getEntry(key, hash); } @Override public boolean containsKey(@CheckForNull Object key) { if (key == null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 90.8K bytes - Viewed (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);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.2K bytes - Viewed (0) -
android/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();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interners.java
while (true) { // trying to read the canonical... @SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :( InternalEntry entry = map.getEntry(sample); if (entry != null) { Object canonical = entry.getKey(); if (canonical != null) { // only matters if weak/soft keys are used
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (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();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
* partially collected. */ @CheckForNull ReferenceEntry<K, V> getEntry(@CheckForNull 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));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
* collected. Does not impact recency ordering. */ @CheckForNull E getEntry(@CheckForNull Object key) { if (key == null) { return null; } int hash = hash(key); return segmentFor(hash).getEntry(key, hash); } @Override public boolean containsKey(@CheckForNull Object key) { if (key == null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 90.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
checkElementIndex(index, size); return values[index]; } void setValue(int index, int newValue) { checkElementIndex(index, size); values[index] = newValue; } Entry<K> getEntry(int index) { checkElementIndex(index, size); return new MapEntry(index); } class MapEntry extends AbstractEntry<K> { @ParametricNullness final K key; int lastKnownIndex;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
@Override public int size() { return keyIndex.size(); } @Override public boolean isEmpty() { return keyIndex.isEmpty(); } Entry<K, V> getEntry(final int index) { checkElementIndex(index, size()); return new AbstractMapEntry<K, V>() { @Override public K getKey() { return ArrayMap.this.getKey(index); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.3K bytes - Viewed (0)