- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 132 for entries3 (0.34 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/collect/ImmutableMap.java
if (entries instanceof Collection) { ensureCapacity(size + ((Collection<?>) entries).size()); } for (Entry<? extends K, ? extends V> entry : entries) { put(entry); } return this; } /** * Configures this {@code Builder} to order entries by value according to the specified * comparator.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 41.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/ReferenceEntry.java
/** Returns the entry's hash. */ int getHash(); /** Returns the key for this entry. */ @Nullable K getKey(); /* * Used by entries that use access order. Access entries are maintained in a doubly-linked list. * New entries are added at the tail of the list at write time; stale entries are expired from * the head of the list. */ /** Returns the time that this entry was last accessed, in ns. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 3.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
List<Entry<K, V>> entries = copyToList( getSubjectGenerator() .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(entries, Helpers.entryComparator(navigableMap.comparator())); // some tests assume SEVERAL == 3 if (entries.size() >= 1) { a = entries.get(0); if (entries.size() >= 3) { c = entries.get(2); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 6.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
if (entries == entryArray) { // Temporary variable is necessary to defeat bad smartcast (entries adopting the type of // entryArray) in the Kotlin translation. Entry<K, V>[] originalEntries = entries; entries = originalEntries.clone(); } } entries[entryIndex] = effectiveEntry; } if (duplicates != null) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 15.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
static final ImmutableMultiset<Object> EMPTY = create(ImmutableList.<Entry<Object>>of()); static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) { int distinct = entries.size(); @SuppressWarnings({"unchecked", "rawtypes"}) ImmutableEntry<E>[] entryArray = new ImmutableEntry[distinct]; if (distinct == 0) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Set<Entry<Object, Object>> entries = cache.asMap().entrySet(); List<Entry<Object, Object>> warmed = warmUp(cache, WARMUP_MIN, WARMUP_MAX); Set<?> expected = new HashMap<>(cache.asMap()).entrySet(); assertThat(entries).containsExactlyElementsIn(expected); assertThat(entries.toArray()).asList().containsExactlyElementsIn(expected);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
final List<Entry<K, V>> entries; @Nullable Comparator<? super V> valueComparator; public Builder() { this.entries = Lists.newArrayList(); } Builder(int initCapacity) { this.entries = Lists.newArrayListWithCapacity(initCapacity); } @CanIgnoreReturnValue public Builder<K, V> put(K key, V value) { entries.add(entryOf(key, value)); return this;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:51:42 GMT 2026 - 17.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
.sampleKeys() .e0(); Object[] entries = new Object[elements.length]; for (int i = 0; i < elements.length; i++) { @SuppressWarnings("unchecked") // These come from Entry<K, V> objects somewhere. V value = (V) elements[i]; entries[i] = mapEntry(k, value); } return multimapGenerator.create(entries).values(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 26.8K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/ReferenceEntry.java
/** Returns the entry's hash. */ int getHash(); /** Returns the key for this entry. */ @Nullable K getKey(); /* * Used by entries that use access order. Access entries are maintained in a doubly-linked list. * New entries are added at the tail of the list at write time; stale entries are expired from * the head of the list. */ /** Returns the time that this entry was last accessed, in ns. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 3.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
List<Entry<K, V>> entries = copyToList( getSubjectGenerator() .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(entries, Helpers.entryComparator(navigableMap.comparator())); // some tests assume SEVERAL == 3 if (entries.size() >= 1) { a = entries.get(0); if (entries.size() >= 3) { c = entries.get(2); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 6.1K bytes - Click Count (0)