Lines Matching defs:Entry

360     Set<Map.Entry<K, V>> entrySet();
366 * iterator of this collection-view. These {@code Map.Entry} objects are
375 interface Entry<K, V> {
432 * different implementations of the {@code Map.Entry} interface.
459 * Returns a comparator that compares {@link Map.Entry} in natural order on key.
466 * @return a comparator that compares {@link Map.Entry} in natural order on key.
470 public static <K extends Comparable<? super K>, V> Comparator<Map.Entry<K, V>> comparingByKey() {
471 return (Comparator<Map.Entry<K, V>> & Serializable)
476 * Returns a comparator that compares {@link Map.Entry} in natural order on value.
483 * @return a comparator that compares {@link Map.Entry} in natural order on value.
487 public static <K, V extends Comparable<? super V>> Comparator<Map.Entry<K, V>> comparingByValue() {
488 return (Comparator<Map.Entry<K, V>> & Serializable)
493 * Returns a comparator that compares {@link Map.Entry} by key using the given
502 * @return a comparator that compares {@link Map.Entry} by the key.
505 public static <K, V> Comparator<Map.Entry<K, V>> comparingByKey(Comparator<? super K> cmp) {
507 return (Comparator<Map.Entry<K, V>> & Serializable)
512 * Returns a comparator that compares {@link Map.Entry} by value using the given
521 * @return a comparator that compares {@link Map.Entry} by the value.
524 public static <K, V> Comparator<Map.Entry<K, V>> comparingByValue(Comparator<? super V> cmp) {
526 return (Comparator<Map.Entry<K, V>> & Serializable)
556 * @see Map.Entry#hashCode()
603 * for (Map.Entry<K, V> entry : map.entrySet())
620 for (Map.Entry<K, V> entry : entrySet()) {
643 * for (Map.Entry<K, V> entry : map.entrySet())
675 for (Map.Entry<K, V> entry : entrySet()) {