Taal

LinkedHashMap.Reversed Method

Definition

Returns a reverse-ordered view of this map.

[Android.Runtime.Register("reversed", "()Ljava/util/SequencedMap;", "GetReversedHandler", ApiSince=35)]
public virtual Java.Util.ISequencedMap? Reversed();
[<Android.Runtime.Register("reversed", "()Ljava/util/SequencedMap;", "GetReversedHandler", ApiSince=35)>]
abstract member Reversed : unit -> Java.Util.ISequencedMap
override this.Reversed : unit -> Java.Util.ISequencedMap

Returns

a reverse-ordered view of this map

Implements

Attributes

Remarks

Returns a reverse-ordered view of this map. The encounter order of mappings in the returned view is the inverse of the encounter order of mappings in this map. The reverse ordering affects all order-sensitive operations, including those on the view collections of the returned view. If the implementation permits modifications to this view, the modifications "write through" to the underlying map. Changes to the underlying map might or might not be visible in this reversed view, depending upon the implementation. Modifications to the reversed view and its map views are permitted and will be propagated to this map. In addition, modifications to this map will be visible in the reversed view and its map views.

Java reference for java.util.LinkedHashMap.reversed.

Applies to