Android Guides | Samples

Android.Runtime.JavaSet Class

HashSet is an implementation of a Set.

See Also: JavaSet

Syntax

[Android.Runtime.Register("java/util/HashSet", DoNotGenerateAcw=true)]
public class JavaSet : Object, ICollection

Remarks

HashSet is an implementation of a Set. All optional operations (adding and removing) are supported. The elements can be any objects.

[Android Documentation]

Requirements

Namespace: Android.Runtime
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Runtime.JavaSet are listed below.

See Also: Object

Public Constructors

Constructs a new empty instance of HashSet.
A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
CountInt32.
[read-only]
IsFixedSizeBoolean.
[read-only]
IsReadOnlyBoolean.
[read-only]
IsSynchronizedBoolean.
[read-only]
SyncRootObject.

Public Methods