- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 397 for entries (0.18 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
return getEntryNullReplaces().getKey(); } private Entry<K, V> getEntryNullReplaces() { Iterator<Entry<K, V>> entries = getSampleElements().iterator(); for (int i = 0; i < getNullLocation(); i++) { entries.next(); } return entries.next(); } /** @return an array of the proper size with {@code null} as the value of the middle element. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
public ImmutableRangeMap<K, V> build() { Collections.sort(entries, Range.<K>rangeLexOrdering().onKeys()); ImmutableList.Builder<Range<K>> rangesBuilder = new ImmutableList.Builder<>(entries.size()); ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(entries.size()); for (int i = 0; i < entries.size(); i++) { Range<K> range = entries.get(i).getKey(); if (i > 0) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
@SuppressWarnings("unchecked") @Override public BiMap<V, K> create(Object... elements) { Entry<?, ?>[] entries = new Entry<?, ?>[elements.length]; for (int i = 0; i < elements.length; i++) { entries[i] = reverse((Entry<K, V>) elements[i]); } return generator.create((Object[]) entries).inverse(); } @SuppressWarnings("unchecked") @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 6.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java
Helpers.mapEntry("five", "May")); } @Override public final BiMap<String, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<String, String> e = (Entry<String, String>) o; array[i++] = e; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
} /** * LinkedHashMultimap entries are in no less than three coexisting linked lists: a bucket in the * hash table for a {@code Set<V>} associated with a key, the linked list of insertion-ordered * entries in that {@code Set<V>}, and the linked list of entries in the LinkedHashMultimap as a * whole. */ @VisibleForTesting
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 23.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
/** * Returns an immutable collection of all key-value pairs in the multimap. Its iterator traverses * the values for the first key, the values for the second key, and so on. */ @Override public ImmutableSet<Entry<K, V>> entries() { ImmutableSet<Entry<K, V>> result = entries; return result == null ? (entries = new EntrySet<>(this)) : result; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 23.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
+ " even if some keys are null.", getMap().equals(newHashMap(entries))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherContainsNullKey() { Collection<Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); entries.add(entry(null, v3())); Map<K, V> other = newHashMap(entries); assertFalse(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
+ " even if some keys are null.", getMap().equals(newHashMap(entries))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherContainsNullKey() { Collection<Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); entries.add(entry(null, v3())); Map<K, V> other = newHashMap(entries); assertFalse(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
* {@link #entries()}. Unlike {@link LinkedHashMultimap}, the iteration order is kept consistent * between keys, entries and values. For example, calling: * * <pre>{@code * multimap.remove(key1, foo); * }</pre> * * <p>changes the entries iteration order to {@code [key2=bar, key1=baz]} and the key iteration * order to {@code [key2, key1]}. The {@link #entries()} iterator returns mutable map entries, and
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 27.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
@Override public SortedMap<String, String> create(Entry<String, String>[] entries) { ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder(); for (Entry<String, String> entry : entries) { checkNotNull(entry); builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 4.6K bytes - Viewed (0)