Uses of Interface
java.util.Map.Entry
Packages that useMap.Entry Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.security Provides the classes and interfaces for the security framework.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.java.util.concurrent Utility classes commonly useful in concurrent programming.java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.javax.management.openmbean Provides the open data types and Open MBean descriptor classes.javax.xml.crypto.dom DOM-specific classes for thejavax.xml.cryptopackage.Uses ofMap.Entry injava.awt
Methods injava.awt that return types with arguments of typeMap.Entry Modifier and Type Method Description Set<Map.Entry<Object,Object>>RenderingHints. entrySet()Returns aSetview of the mappings contained in thisRenderingHints.Uses ofMap.Entry injava.security
Methods injava.security that return types with arguments of typeMap.Entry Modifier and Type Method Description Set<Map.Entry<Object,Object>>Provider. entrySet()Returns an unmodifiable Set view of the property entries contained in this Provider.Uses ofMap.Entry injava.util
Classes injava.util that implementMap.Entry Modifier and Type Class Description static classAbstractMap.SimpleEntry<K,V>An Entry maintaining a key and a value.static classAbstractMap.SimpleImmutableEntry<K,V>An Entry maintaining an immutable key and value.Methods injava.util that returnMap.Entry Modifier and Type Method Description Map.Entry<K,V>NavigableMap. ceilingEntry(K key)Returns a key-value mapping associated with the least key greater than or equal to the given key, ornullif there is no such key.Map.Entry<K,V>TreeMap. ceilingEntry(K key)static <K,V>
Map.Entry<K,V>Map. entry(K k, V v)Returns an unmodifiableMap.Entrycontaining the given key and value.Map.Entry<K,V>NavigableMap. firstEntry()Returns a key-value mapping associated with the least key in this map, ornullif the map is empty.Map.Entry<K,V>TreeMap. firstEntry()Map.Entry<K,V>NavigableMap. floorEntry(K key)Returns a key-value mapping associated with the greatest key less than or equal to the given key, ornullif there is no such key.Map.Entry<K,V>TreeMap. floorEntry(K key)Map.Entry<K,V>NavigableMap. higherEntry(K key)Returns a key-value mapping associated with the least key strictly greater than the given key, ornullif there is no such key.Map.Entry<K,V>TreeMap. higherEntry(K key)Map.Entry<K,V>NavigableMap. lastEntry()Returns a key-value mapping associated with the greatest key in this map, ornullif the map is empty.Map.Entry<K,V>TreeMap. lastEntry()Map.Entry<K,V>NavigableMap. lowerEntry(K key)Returns a key-value mapping associated with the greatest key strictly less than the given key, ornullif there is no such key.Map.Entry<K,V>TreeMap. lowerEntry(K key)Map.Entry<K,V>NavigableMap. pollFirstEntry()Removes and returns a key-value mapping associated with the least key in this map, ornullif the map is empty.Map.Entry<K,V>TreeMap. pollFirstEntry()Map.Entry<K,V>NavigableMap. pollLastEntry()Removes and returns a key-value mapping associated with the greatest key in this map, ornullif the map is empty.Map.Entry<K,V>TreeMap. pollLastEntry()Methods injava.util that return types with arguments of typeMap.Entry Modifier and Type Method Description static <K extendsComparable<? super K>,V>
Comparator<Map.Entry<K,V>>Map.Entry. comparingByKey()Returns a comparator that comparesMap.Entryin natural order on key.static <K,V>
Comparator<Map.Entry<K,V>>Map.Entry. comparingByKey(Comparator<? super K> cmp)Returns a comparator that comparesMap.Entryby key using the givenComparator.static <K,V extendsComparable<? super V>>
Comparator<Map.Entry<K,V>>Map.Entry. comparingByValue()Returns a comparator that comparesMap.Entryin natural order on value.static <K,V>
Comparator<Map.Entry<K,V>>Map.Entry. comparingByValue(Comparator<? super V> cmp)Returns a comparator that comparesMap.Entryby value using the givenComparator.Set<Map.Entry<K,V>>EnumMap. entrySet()Returns aSetview of the mappings contained in this map.Set<Map.Entry<K,V>>HashMap. entrySet()Returns aSetview of the mappings contained in this map.Set<Map.Entry<K,V>>Hashtable. entrySet()Returns aSetview of the mappings contained in this map.Set<Map.Entry<K,V>>IdentityHashMap. entrySet()Returns aSetview of the mappings contained in this map.Set<Map.Entry<K,V>>LinkedHashMap. entrySet()Returns aSetview of the mappings contained in this map.Set<Map.Entry<K,V>>Map. entrySet()Returns aSetview of the mappings contained in this map.Set<Map.Entry<K,V>>SortedMap. entrySet()Returns aSetview of the mappings contained in this map.Set<Map.Entry<K,V>>TreeMap. entrySet()Returns aSetview of the mappings contained in this map.Set<Map.Entry<K,V>>WeakHashMap. entrySet()Returns aSetview of the mappings contained in this map.Methods injava.util with parameters of typeMap.Entry Modifier and Type Method Description static <K,V>
Map<K,V>Map. ofEntries(Map.Entry<? extends K,? extends V>... entries)Returns an unmodifiable map containing keys and values extracted from the given entries.protected booleanLinkedHashMap. removeEldestEntry(Map.Entry<K,V> eldest)Returnstrueif this map should remove its eldest entry.Constructors injava.util with parameters of typeMap.Entry Constructor Description SimpleEntry(Map.Entry<? extendsK,? extendsV> entry)Creates an entry representing the same mapping as the specified entry.SimpleImmutableEntry(Map.Entry<? extendsK,? extendsV> entry)Creates an entry representing the same mapping as the specified entry.Uses ofMap.Entry injava.util.concurrent
Methods injava.util.concurrent that returnMap.Entry Modifier and Type Method Description Map.Entry<K,V>ConcurrentSkipListMap. ceilingEntry(K key)Returns a key-value mapping associated with the least key greater than or equal to the given key, ornullif there is no such entry.Map.Entry<K,V>ConcurrentSkipListMap. firstEntry()Returns a key-value mapping associated with the least key in this map, ornullif the map is empty.Map.Entry<K,V>ConcurrentSkipListMap. floorEntry(K key)Returns a key-value mapping associated with the greatest key less than or equal to the given key, ornullif there is no such key.Map.Entry<K,V>ConcurrentSkipListMap. higherEntry(K key)Returns a key-value mapping associated with the least key strictly greater than the given key, ornullif there is no such key.Map.Entry<K,V>ConcurrentSkipListMap. lastEntry()Returns a key-value mapping associated with the greatest key in this map, ornullif the map is empty.Map.Entry<K,V>ConcurrentSkipListMap. lowerEntry(K key)Returns a key-value mapping associated with the greatest key strictly less than the given key, ornullif there is no such key.Map.Entry<K,V>ConcurrentSkipListMap. pollFirstEntry()Removes and returns a key-value mapping associated with the least key in this map, ornullif the map is empty.Map.Entry<K,V>ConcurrentSkipListMap. pollLastEntry()Removes and returns a key-value mapping associated with the greatest key in this map, ornullif the map is empty.Map.Entry<K,V>ConcurrentHashMap. reduceEntries(long parallelismThreshold,BiFunction<Map.Entry<K,V>,Map.Entry<K,V>,? extendsMap.Entry<K,V>> reducer)Returns the result of accumulating all entries using the given reducer to combine values, or null if none.Methods injava.util.concurrent that return types with arguments of typeMap.Entry Modifier and Type Method Description Set<Map.Entry<K,V>>ConcurrentHashMap. entrySet()Returns aSetview of the mappings contained in this map.Set<Map.Entry<K,V>>ConcurrentSkipListMap. entrySet()Returns aSetview of the mappings contained in this map.Method parameters injava.util.concurrent with type arguments of typeMap.Entry Modifier and Type Method Description voidConcurrentHashMap. forEachEntry(long parallelismThreshold,Consumer<? superMap.Entry<K,V>> action)Performs the given action for each entry.<U> voidConcurrentHashMap. forEachEntry(long parallelismThreshold,Function<Map.Entry<K,V>,? extends U> transformer,Consumer<? super U> action)Performs the given action for each non-null transformation of each entry.Map.Entry<K,V>ConcurrentHashMap. reduceEntries(long parallelismThreshold,BiFunction<Map.Entry<K,V>,Map.Entry<K,V>,? extendsMap.Entry<K,V>> reducer)Returns the result of accumulating all entries using the given reducer to combine values, or null if none.Map.Entry<K,V>ConcurrentHashMap. reduceEntries(long parallelismThreshold,BiFunction<Map.Entry<K,V>,Map.Entry<K,V>,? extendsMap.Entry<K,V>> reducer)Returns the result of accumulating all entries using the given reducer to combine values, or null if none.Map.Entry<K,V>ConcurrentHashMap. reduceEntries(long parallelismThreshold,BiFunction<Map.Entry<K,V>,Map.Entry<K,V>,? extendsMap.Entry<K,V>> reducer)Returns the result of accumulating all entries using the given reducer to combine values, or null if none.<U> UConcurrentHashMap. reduceEntries(long parallelismThreshold,Function<Map.Entry<K,V>,? extends U> transformer,BiFunction<? super U,? super U,? extends U> reducer)Returns the result of accumulating the given transformation of all entries using the given reducer to combine values, or null if none.doubleConcurrentHashMap. reduceEntriesToDouble(long parallelismThreshold,ToDoubleFunction<Map.Entry<K,V>> transformer, double basis,DoubleBinaryOperator reducer)Returns the result of accumulating the given transformation of all entries using the given reducer to combine values, and the given basis as an identity value.intConcurrentHashMap. reduceEntriesToInt(long parallelismThreshold,ToIntFunction<Map.Entry<K,V>> transformer, int basis,IntBinaryOperator reducer)Returns the result of accumulating the given transformation of all entries using the given reducer to combine values, and the given basis as an identity value.longConcurrentHashMap. reduceEntriesToLong(long parallelismThreshold,ToLongFunction<Map.Entry<K,V>> transformer, long basis,LongBinaryOperator reducer)Returns the result of accumulating the given transformation of all entries using the given reducer to combine values, and the given basis as an identity value.<U> UConcurrentHashMap. searchEntries(long parallelismThreshold,Function<Map.Entry<K,V>,? extends U> searchFunction)Returns a non-null result from applying the given search function on each entry, or null if none.Uses ofMap.Entry injava.util.jar
Methods injava.util.jar that return types with arguments of typeMap.Entry Modifier and Type Method Description Set<Map.Entry<Object,Object>>Attributes. entrySet()Returns a Collection view of the attribute name-value mappings contained in this Map.Uses ofMap.Entry injavax.management.openmbean
Methods injavax.management.openmbean that return types with arguments of typeMap.Entry Modifier and Type Method Description Set<Map.Entry<Object,Object>>TabularDataSupport. entrySet()Returns a collection view of the index to row mappings contained in thisTabularDataSupportinstance.Uses ofMap.Entry injavax.xml.crypto.dom
Methods injavax.xml.crypto.dom that return types with arguments of typeMap.Entry Modifier and Type Method Description Iterator<Map.Entry<String,Element>>DOMCryptoContext. iterator()Returns a read-only iterator over the set of Id/Element mappings of thisDOMCryptoContext.