- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 485 for _entriess (0.07 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
} private Entry<K, V>[] getEntriesMultipleNullKeys() { Entry<K, V>[] entries = createArrayWithNullKey(); entries[0] = entry(null, entries[0].getValue()); return entries; } private Entry<K, V>[] getEntriesMultipleNonNullKeys() { Entry<K, V>[] entries = createSamplesArray(); entries[0] = entry(k1(), v0()); return entries; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultimap.java
@LazyInit @CheckForNull private transient Collection<Entry<K, V>> entries; @Override public Collection<Entry<K, V>> entries() { Collection<Entry<K, V>> result = entries; return (result == null) ? entries = createEntries() : result; } abstract Collection<Entry<K, V>> createEntries(); @WeakOuter class Entries extends Multimaps.Entries<K, V> { @Override Multimap<K, V> multimap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) { return ImmutableBiMap.copyOf(entries); } }, BUILDER_PUT_ONE_BY_ONE { @Override public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) { ImmutableBiMap.Builder<Object, Object> builder = ImmutableBiMap.builder(); for (Entry<?, ?> entry : entries) { builder.put(entry.getKey(), entry.getValue());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
sortedMultiset = cast(getMultiset()); entries = copyToList( getSubjectGenerator() .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(entries, sortedMultiset.comparator()); // some tests assume SEVERAL == 3 if (entries.size() >= 1) { a = Multisets.immutableEntry(entries.get(0), sortedMultiset.count(entries.get(0))); if (entries.size() >= 3) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.1K bytes - Viewed (0) -
android/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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
entryIndex = next - 1; entry = entries[entryIndex]; next = CompactHashing.getNext(entry, mask); } while (next != srcNext); // here, entries[entryIndex] points to the old entry location; update it entries[entryIndex] = CompactHashing.maskCombine(entry, dstIndex + 1, mask); } } else { elements[dstIndex] = null; entries[dstIndex] = 0; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
} private static final int ENDPOINT = -2; /** * Contains the link pointers corresponding with the entries, in the range of [0, size()). The * high 32 bits of each long is the "prev" pointer, whereas the low 32 bits is the "succ" pointer * (pointing to the next entry in the linked list). The pointers in [size(), entries.length) are * all "null" (UNSET). *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntrySet.java
private final transient ImmutableList<Entry<K, V>> entries; RegularEntrySet(ImmutableMap<K, V> map, Entry<K, V>[] entries) { this(map, ImmutableList.<Entry<K, V>>asImmutableList(entries)); } RegularEntrySet(ImmutableMap<K, V> map, ImmutableList<Entry<K, V>> entries) { this.map = map; this.entries = entries; } @Override ImmutableMap<K, V> map() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java
Collection<Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); entries.add(entryWithNull); int expectedHashCode = 0; for (Entry<K, V> entry : entries) { expectedHashCode += hash(entry); } resetContainer(getSubjectGenerator().create(entries.toArray())); assertEquals( "A Map's hashCode() should be the sum of those of its entries (where "
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3K bytes - Viewed (0)