Lines Matching refs:entries
453 * the two entries represent the same mapping. More formally, two
454 * entries {@code e1} and {@code e2} represent the same mapping
624 * Performs the given action for each entry in this map until all entries
666 * function on that entry until all entries have been processed or the
1572 * Returns an immutable map containing keys and values extracted from the given entries.
1573 * The entries themselves are not stored in the map.
1577 * It is convenient to create the map entries using the {@link Map#entry Map.entry()} method.
1593 * @param entries {@code Map.Entry}s containing the keys and values from which the map is populated
1597 * the {@code entries} array is {@code null}
1604 static <K, V> Map<K, V> ofEntries(Entry<? extends K, ? extends V>... entries) {
1605 if (entries.length == 0) { // implicit null check of entries
1607 } else if (entries.length == 1) {
1608 return new ImmutableCollections.Map1<>(entries[0].getKey(),
1609 entries[0].getValue());
1611 Object[] kva = new Object[entries.length << 1];
1613 for (Entry<? extends K, ? extends V> entry : entries) {
1623 * These entries are suitable for populating {@code Map} instances using the