## Uses of Interface
java.util.Map.Entry

- Packages that use Map.Entry
  Package | Description
  --- | ---
  java.util |

- - ### Uses of Map.Entry in java.util

    Methods in java.util that return types with arguments of type Map.Entry
    Modifier and Type | Method and Description
    --- | ---
    `static <K extends Comparable<? super K>,V> Comparator<Map.Entry<K,V>>` | Map.Entry.`comparingByKey()` Returns a comparator that compares `Map.Entry` in natural order on key.
    `static <K,V> Comparator<Map.Entry<K,V>>` | Map.Entry.`comparingByKey(Comparator<? super K> cmp)` Returns a comparator that compares `Map.Entry` by key using the given `Comparator`.
    `static <K,V extends Comparable<? super V>> Comparator<Map.Entry<K,V>>` | Map.Entry.`comparingByValue()` Returns a comparator that compares `Map.Entry` in natural order on value.
    `static <K,V> Comparator<Map.Entry<K,V>>` | Map.Entry.`comparingByValue(Comparator<? super V> cmp)` Returns a comparator that compares `Map.Entry` by value using the given `Comparator`.
    `Set<Map.Entry<K,V>>` | Map.`entrySet()` Returns a `Set` view of the mappings contained in this map.

Copyright © 2025 API Design. All Rights Reserved.