Condividi tramite


ResourceBundle.HandleKeySet Method

Definition

Returns a Set of the keys contained <em>only</em> in this ResourceBundle.

[Android.Runtime.Register("handleKeySet", "()Ljava/util/Set;", "GetHandleKeySetHandler")]
protected virtual System.Collections.Generic.ICollection<string>? HandleKeySet ();
[<Android.Runtime.Register("handleKeySet", "()Ljava/util/Set;", "GetHandleKeySetHandler")>]
abstract member HandleKeySet : unit -> System.Collections.Generic.ICollection<string>
override this.HandleKeySet : unit -> System.Collections.Generic.ICollection<string>

Returns

a Set of the keys contained only in this ResourceBundle

Attributes

Remarks

Returns a Set of the keys contained <em>only</em> in this ResourceBundle.

The default implementation returns a Set of the keys returned by the #getKeys() getKeys method except for the ones for which the #handleGetObject(String) handleGetObject method returns null. Once the Set has been created, the value is kept in this ResourceBundle in order to avoid producing the same Set in subsequent calls. Subclasses can override this method for faster handling.

Added in 1.6.

Java documentation for java.util.ResourceBundle.handleKeySet().

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.

Applies to