相关文章推荐
会搭讪的卤蛋  ·  Python os.makedirs() ...·  3 月前    · 
阳刚的小狗  ·  warning ...·  1 年前    · 

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
[Android.Runtime.Register("entrySet", "()Ljava/util/Set;", "GetEntrySetHandler")]
public override System.Collections.ICollection EntrySet ();
[<Android.Runtime.Register("entrySet", "()Ljava/util/Set;", "GetEntrySetHandler")>]
override this.EntrySet : unit -> System.Collections.ICollection

Returns

Remarks

Returns a Set view of the mappings contained in this map.

The set's iterator returns the entries in ascending key order. The set's spliterator is <em>late-binding</em>, <em>fail-fast</em>, and additionally reports Spliterator#SORTED and Spliterator#ORDERED with an encounter order that is ascending key order.

The set is backed by the map, so changes to the map are reflected in the set, and vice-versa. If the map is modified while an iteration over the set is in progress (except through the iterator's own remove operation, or through the setValue operation on a map entry returned by the iterator) the results of the iteration are undefined. The set supports element removal, which removes the corresponding mapping from the map, via the Iterator.remove , Set.remove , removeAll , retainAll and clear operations. It does not support the add or addAll operations.

Java documentation for java.util.TreeMap.entrySet() .

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.