-
Notifications
You must be signed in to change notification settings - Fork 0
/
ISet.xml
1705 lines (1703 loc) · 112 KB
/
ISet.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="ISet" FullName="Java.Util.ISet">
<TypeSignature Language="C#" Value="public interface ISet : IDisposable, Java.Interop.IJavaPeerable, Java.Util.ICollection" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit ISet implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.Lang.IIterable, class Java.Util.ICollection, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Util.ISet" />
<TypeSignature Language="F#" Value="type ISet = interface
 interface ICollection
 interface IIterable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Lang.IIterable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Util.ICollection</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/util/Set", "", "Java.Util.ISetInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/util/Set", "", "Java.Util.ISetInvoker")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "E" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "E" })>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<param name="<E><E>">the type of elements maintained by this set</param>
<summary>A collection that contains no duplicate elements.</summary>
<remarks>
<para>A collection that contains no duplicate elements. More formally, sets
contain no pair of elements <c>e1</c> and <c>e2</c> such that
<c>e1.equals(e2)</c>, and at most one null element. As implied by
its name, this interface models the mathematical <i>set</i> abstraction.</para>
<para>The <c>Set</c> interface places additional stipulations, beyond those
inherited from the <c>Collection</c> interface, on the contracts of all
constructors and on the contracts of the <c>add</c>, <c>equals</c> and
<c>hashCode</c> methods. Declarations for other inherited methods are
also included here for convenience. (The specifications accompanying these
declarations have been tailored to the <c>Set</c> interface, but they do
not contain any additional stipulations.)</para>
<para>The additional stipulation on constructors is, not surprisingly,
that all constructors must create a set that contains no duplicate elements
(as defined above).</para>
<para>Note: Great care must be exercised if mutable objects are used as set
elements. The behavior of a set is not specified if the value of an object
is changed in a manner that affects <c>equals</c> comparisons while the
object is an element in the set. A special case of this prohibition is
that it is not permissible for a set to contain itself as an element.</para>
<para>Some set implementations have restrictions on the elements that
they may contain. For example, some implementations prohibit null elements,
and some have restrictions on the types of their elements. Attempting to
add an ineligible element throws an unchecked exception, typically
<c>NullPointerException</c> or <c>ClassCastException</c>. Attempting
to query the presence of an ineligible element may throw an exception,
or it may simply return false; some implementations will exhibit the former
behavior and some will exhibit the latter. More generally, attempting an
operation on an ineligible element whose completion would not result in
the insertion of an ineligible element into the set may throw an
exception or it may succeed, at the option of the implementation.
Such exceptions are marked as "optional" in the specification for this
interface.
<h2>"unmodifiable">Unmodifiable Sets</h2></para>
<para>The <c>Set#of(Object...) Set.of</c> and
<c>Set#copyOf Set.copyOf</c> static factory methods
provide a convenient way to create unmodifiable sets. The <c>Set</c>
instances created by these methods have the following characteristics:
<ul>
<li>They are <i>unmodifiable</i>. Elements cannot
be added or removed. Calling any mutator method on the Set
will always cause <c>UnsupportedOperationException</c> to be thrown.
However, if the contained elements are themselves mutable, this may cause the
Set to behave inconsistently or its contents to appear to change.
<li>They disallow <c>null</c> elements. Attempts to create them with
<c>null</c> elements result in <c>NullPointerException</c>.
<li>They are serializable if all elements are serializable.
<li>They reject duplicate elements at creation time. Duplicate elements
passed to a static factory method result in <c>IllegalArgumentException</c>.
<li>The iteration order of set elements is unspecified and is subject to change.
<li>They are value-based.
Programmers should treat instances that are #equals(Object) equal
as interchangeable and should not use them for synchronization, or
unpredictable behavior may occur. For example, in a future release,
synchronization may fail. Callers should make no assumptions
about the identity of the returned instances. Factories are free to
create new instances or reuse existing ones.
<li>They are serialized as specified on the
<see href="https://developer.android.com//serialized-form.html#java.util.CollSer">Serialized Form</see>
page.
</ul></para>
<para>This interface is a member of the
<see href="https://developer.android.com//java.base/java/util/package-summary.html#CollectionsFramework">
Java Collections Framework</see>.</para>
<para>Added in 1.2.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set" title="Reference documentation">Java documentation for <code>java.util.Set</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public bool Add (Java.Lang.Object? e);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Add(class Java.Lang.Object e) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Add(Java.Lang.Object)" />
<MemberSignature Language="F#" Value="abstract member Add : Java.Lang.Object -> bool" Usage="iSet.Add e" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.ICollection.Add(Java.Lang.Object)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("add", "(Ljava/lang/Object;)Z", "GetAdd_Ljava_lang_Object_Handler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("add", "(Ljava/lang/Object;)Z", "GetAdd_Ljava_lang_Object_Handler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="e">element to be added to this set</param>
<summary>Adds the specified element to this set if it is not already present
(optional operation).</summary>
<returns>
<c>true</c> if this set did not already contain the specified
element</returns>
<remarks>
<para>Adds the specified element to this set if it is not already present
(optional operation). More formally, adds the specified element
<c>e</c> to this set if the set contains no element <c>e2</c>
such that
<c>Objects.equals(e, e2)</c>.
If this set already contains the element, the call leaves the set
unchanged and returns <c>false</c>. In combination with the
restriction on constructors, this ensures that sets never contain
duplicate elements.</para>
<para>The stipulation above does not imply that sets must accept all
elements; sets may refuse to add any particular element, including
<c>null</c>, and throw an exception, as described in the
specification for <c>Collection#add Collection.add</c>.
Individual set implementations should clearly document any
restrictions on the elements that they may contain.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#add(E)" title="Reference documentation">Java documentation for <code>java.util.Set.add(E)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="AddAll">
<MemberSignature Language="C#" Value="public bool AddAll (System.Collections.ICollection c);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool AddAll(class System.Collections.ICollection c) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.AddAll(System.Collections.ICollection)" />
<MemberSignature Language="F#" Value="abstract member AddAll : System.Collections.ICollection -> bool" Usage="iSet.AddAll c" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.ICollection.AddAll(System.Collections.ICollection)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addAll", "(Ljava/util/Collection;)Z", "GetAddAll_Ljava_util_Collection_Handler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addAll", "(Ljava/util/Collection;)Z", "GetAddAll_Ljava_util_Collection_Handler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="c" Type="System.Collections.ICollection" />
</Parameters>
<Docs>
<param name="c">collection containing elements to be added to this set</param>
<summary>Adds all of the elements in the specified collection to this set if
they're not already present (optional operation).</summary>
<returns>
<c>true</c> if this set changed as a result of the call</returns>
<remarks>
<para>Adds all of the elements in the specified collection to this set if
they're not already present (optional operation). If the specified
collection is also a set, the <c>addAll</c> operation effectively
modifies this set so that its value is the <i>union</i> of the two
sets. The behavior of this operation is undefined if the specified
collection is modified while the operation is in progress.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#addAll(java.util.Collection%3C?%20extends%20E%3E)" title="Reference documentation">Java documentation for <code>java.util.Set.addAll(java.util.Collection<? extends E>)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Clear">
<MemberSignature Language="C#" Value="public void Clear ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Clear() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Clear" />
<MemberSignature Language="F#" Value="abstract member Clear : unit -> unit" Usage="iSet.Clear " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.ICollection.Clear</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("clear", "()V", "GetClearHandler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("clear", "()V", "GetClearHandler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Removes all of the elements from this set (optional operation).</summary>
<remarks>
<para>Removes all of the elements from this set (optional operation).
The set will be empty after this call returns.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#clear()" title="Reference documentation">Java documentation for <code>java.util.Set.clear()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Lang.UnsupportedOperationException">when removing from this set is not supported.</exception>
<altmember cref="P:Java.Util.ISet.IsEmpty" />
<altmember cref="M:Java.Util.ISet.Size" />
</Docs>
</Member>
<Member MemberName="Contains">
<MemberSignature Language="C#" Value="public bool Contains (Java.Lang.Object? o);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Contains(class Java.Lang.Object o) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Contains(Java.Lang.Object)" />
<MemberSignature Language="F#" Value="abstract member Contains : Java.Lang.Object -> bool" Usage="iSet.Contains o" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.ICollection.Contains(Java.Lang.Object)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("contains", "(Ljava/lang/Object;)Z", "GetContains_Ljava_lang_Object_Handler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("contains", "(Ljava/lang/Object;)Z", "GetContains_Ljava_lang_Object_Handler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="o" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="o">element whose presence in this set is to be tested</param>
<summary>Returns <c>true</c> if this set contains the specified element.</summary>
<returns>
<c>true</c> if this set contains the specified element</returns>
<remarks>
<para>Returns <c>true</c> if this set contains the specified element.
More formally, returns <c>true</c> if and only if this set
contains an element <c>e</c> such that
<c>Objects.equals(o, e)</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#contains(java.lang.Object)" title="Reference documentation">Java documentation for <code>java.util.Set.contains(java.lang.Object)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ContainsAll">
<MemberSignature Language="C#" Value="public bool ContainsAll (System.Collections.ICollection c);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool ContainsAll(class System.Collections.ICollection c) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.ContainsAll(System.Collections.ICollection)" />
<MemberSignature Language="F#" Value="abstract member ContainsAll : System.Collections.ICollection -> bool" Usage="iSet.ContainsAll c" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.ICollection.ContainsAll(System.Collections.ICollection)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("containsAll", "(Ljava/util/Collection;)Z", "GetContainsAll_Ljava_util_Collection_Handler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("containsAll", "(Ljava/util/Collection;)Z", "GetContainsAll_Ljava_util_Collection_Handler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="c" Type="System.Collections.ICollection" />
</Parameters>
<Docs>
<param name="c">collection to be checked for containment in this set</param>
<summary>Returns <c>true</c> if this set contains all of the elements of the
specified collection.</summary>
<returns>
<c>true</c> if this set contains all of the elements of the
specified collection</returns>
<remarks>
<para>Returns <c>true</c> if this set contains all of the elements of the
specified collection. If the specified collection is also a set, this
method returns <c>true</c> if it is a <i>subset</i> of this set.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#containsAll(java.util.Collection%3C?%3E)" title="Reference documentation">Java documentation for <code>java.util.Set.containsAll(java.util.Collection<?>)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="CopyOf">
<MemberSignature Language="C#" Value="public static System.Collections.ICollection CopyOf (System.Collections.ICollection coll);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ICollection CopyOf(class System.Collections.ICollection coll) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.CopyOf(System.Collections.ICollection)" />
<MemberSignature Language="F#" Value="static member CopyOf : System.Collections.ICollection -> System.Collections.ICollection" Usage="Java.Util.ISet.CopyOf coll" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("copyOf", "(Ljava/util/Collection;)Ljava/util/Set;", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("copyOf", "(Ljava/util/Collection;)Ljava/util/Set;", "", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "E" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "E" })>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.ICollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="coll" Type="System.Collections.ICollection" />
</Parameters>
<Docs>
<param name="<E><E>">the <c>Set</c>'s element type</param>
<param name="coll">a <c>Collection</c> from which elements are drawn, must be non-null</param>
<summary>Returns an unmodifiable Set containing the elements
of the given Collection.</summary>
<returns>a <c>Set</c> containing the elements of the given <c>Collection</c></returns>
<remarks>
<para>Returns an unmodifiable Set containing the elements
of the given Collection. The given Collection must not be null, and it must not
contain any null elements. If the given Collection contains duplicate elements,
an arbitrary element of the duplicates is preserved. If the given Collection is
subsequently modified, the returned Set will not reflect such modifications.</para>
<para>Added in 10.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#copyOf(java.util.Collection%3C?%20extends%20E%3E)" title="Reference documentation">Java documentation for <code>java.util.Set.copyOf(java.util.Collection<? extends E>)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public bool Equals (Java.Lang.Object? o);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Equals(class Java.Lang.Object o) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Equals(Java.Lang.Object)" />
<MemberSignature Language="F#" Value="abstract member Equals : Java.Lang.Object -> bool" Usage="iSet.Equals o" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.ICollection.Equals(Java.Lang.Object)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "GetEquals_Ljava_lang_Object_Handler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "GetEquals_Ljava_lang_Object_Handler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="o" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="o">object to be compared for equality with this set</param>
<summary>Compares the specified object with this set for equality.</summary>
<returns>
<c>true</c> if the specified object is equal to this set</returns>
<remarks>
<para>Compares the specified object with this set for equality. Returns
<c>true</c> if the specified object is also a set, the two sets
have the same size, and every member of the specified set is
contained in this set (or equivalently, every member of this set is
contained in the specified set). This definition ensures that the
equals method works properly across different implementations of the
set interface.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#equals(java.lang.Object)" title="Reference documentation">Java documentation for <code>java.util.Set.equals(java.lang.Object)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<altmember cref="M:Java.Util.ISet.GetHashCode" />
</Docs>
</Member>
<Member MemberName="GetHashCode">
<MemberSignature Language="C#" Value="public int GetHashCode ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetHashCode() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.GetHashCode" />
<MemberSignature Language="F#" Value="abstract member GetHashCode : unit -> int" Usage="iSet.GetHashCode " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.ICollection.GetHashCode</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("hashCode", "()I", "GetGetHashCodeHandler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("hashCode", "()I", "GetGetHashCodeHandler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the hash code value for this set.</summary>
<returns>the hash code value for this set</returns>
<remarks>
<para>Returns the hash code value for this set. The hash code of a set is
defined to be the sum of the hash codes of the elements in the set,
where the hash code of a <c>null</c> element is defined to be zero.
This ensures that <c>s1.equals(s2)</c> implies that
<c>s1.hashCode()==s2.hashCode()</c> for any two sets <c>s1</c>
and <c>s2</c>, as required by the general contract of
<c>Object#hashCode</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#hashCode()" title="Reference documentation">Java documentation for <code>java.util.Set.hashCode()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<altmember cref="M:Java.Util.ISet.Equals(Java.Lang.Object)" />
</Docs>
</Member>
<Member MemberName="IsEmpty">
<MemberSignature Language="C#" Value="public bool IsEmpty { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsEmpty" />
<MemberSignature Language="DocId" Value="P:Java.Util.ISet.IsEmpty" />
<MemberSignature Language="F#" Value="member this.IsEmpty : bool" Usage="Java.Util.ISet.IsEmpty" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Java.Util.ICollection.IsEmpty</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("isEmpty", "()Z", "GetIsEmptyHandler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("isEmpty", "()Z", "GetIsEmptyHandler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns true if this set has no elements.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<altmember cref="M:Java.Util.ISet.Size" />
</Docs>
</Member>
<Member MemberName="Iterator">
<MemberSignature Language="C#" Value="public Java.Util.IIterator Iterator ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Util.IIterator Iterator() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Iterator" />
<MemberSignature Language="F#" Value="abstract member Iterator : unit -> Java.Util.IIterator" Usage="iSet.Iterator " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.ICollection.Iterator</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("iterator", "()Ljava/util/Iterator;", "GetIteratorHandler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("iterator", "()Ljava/util/Iterator;", "GetIteratorHandler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Util.IIterator</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns an iterator over the elements in this set.</summary>
<returns>an iterator over the elements in this set</returns>
<remarks>
<para>Returns an iterator over the elements in this set. The elements are
returned in no particular order (unless this set is an instance of some
class that provides a guarantee).</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#iterator()" title="Reference documentation">Java documentation for <code>java.util.Set.iterator()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<altmember cref="T:Java.Util.IIterator" />
</Docs>
</Member>
<Member MemberName="Java.Lang.IIterable.Spliterator">
<MemberSignature Language="C#" Value="override sealed Java.Util.ISpliterator IIterable.Spliterator ();" />
<MemberSignature Language="ILAsm" Value=".method hidebysig virtual instance class Java.Util.ISpliterator Java.Lang.IIterable.Spliterator() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Java#Lang#IIterable#Spliterator" />
<MemberSignature Language="F#" Value="abstract member Java.Lang.IIterable.Spliterator : unit -> Java.Util.ISpliterator
override this.Java.Lang.IIterable.Spliterator : unit -> Java.Util.ISpliterator" Usage="iSet.Java.Lang.IIterable.Spliterator " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.ICollection.Java#Lang#IIterable#Spliterator</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("spliterator", "()Ljava/util/Spliterator;", "GetSpliteratorHandler:Java.Util.ISet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("spliterator", "()Ljava/util/Spliterator;", "GetSpliteratorHandler:Java.Util.ISet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Util.ISpliterator</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a <c>Spliterator</c> over the elements in this set.</summary>
<returns>a <c>Spliterator</c> over the elements in this set</returns>
<remarks>
<para>Creates a <c>Spliterator</c> over the elements in this set.</para>
<para>The <c>Spliterator</c> reports <c>Spliterator#DISTINCT</c>.
Implementations should document the reporting of additional
characteristic values.</para>
<para>Added in 1.8.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#spliterator()" title="Reference documentation">Java documentation for <code>java.util.Set.spliterator()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Of">
<MemberSignature Language="C#" Value="public static System.Collections.ICollection Of ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ICollection Of() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Of" />
<MemberSignature Language="F#" Value="static member Of : unit -> System.Collections.ICollection" Usage="Java.Util.ISet.Of " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("of", "()Ljava/util/Set;", "", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("of", "()Ljava/util/Set;", "", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "E" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "E" })>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.ICollection</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<param name="<E><E>">the <c>Set</c>'s element type</param>
<summary>Returns an unmodifiable set containing zero elements.</summary>
<returns>an empty <c>Set</c></returns>
<remarks>
<para>Returns an unmodifiable set containing zero elements.
See Unmodifiable Sets for details.</para>
<para>Added in 9.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#of()" title="Reference documentation">Java documentation for <code>java.util.Set.of()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Of">
<MemberSignature Language="C#" Value="public static System.Collections.ICollection Of (Java.Lang.Object e1);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ICollection Of(class Java.Lang.Object e1) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Of(Java.Lang.Object)" />
<MemberSignature Language="F#" Value="static member Of : Java.Lang.Object -> System.Collections.ICollection" Usage="Java.Util.ISet.Of e1" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("of", "(Ljava/lang/Object;)Ljava/util/Set;", "", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("of", "(Ljava/lang/Object;)Ljava/util/Set;", "", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "E" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "E" })>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.ICollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e1" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="<E><E>">the <c>Set</c>'s element type</param>
<param name="e1">the single element</param>
<summary>Returns an unmodifiable set containing one element.</summary>
<returns>a <c>Set</c> containing the specified element</returns>
<remarks>
<para>Returns an unmodifiable set containing one element.
See Unmodifiable Sets for details.</para>
<para>Added in 9.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#of(E)" title="Reference documentation">Java documentation for <code>java.util.Set.of(E)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Of">
<MemberSignature Language="C#" Value="public static System.Collections.ICollection Of (params Java.Lang.Object[] elements);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ICollection Of(class Java.Lang.Object[] elements) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Of(Java.Lang.Object[])" />
<MemberSignature Language="F#" Value="static member Of : Java.Lang.Object[] -> System.Collections.ICollection" Usage="Java.Util.ISet.Of elements" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("of", "([Ljava/lang/Object;)Ljava/util/Set;", "", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("of", "([Ljava/lang/Object;)Ljava/util/Set;", "", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "E" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "E" })>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.ICollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="elements" Type="Java.Lang.Object[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="<E><E>">the <c>Set</c>'s element type</param>
<param name="elements">the elements to be contained in the set</param>
<summary>Returns an unmodifiable set containing an arbitrary number of elements.</summary>
<returns>a <c>Set</c> containing the specified elements</returns>
<remarks>
<para>Returns an unmodifiable set containing an arbitrary number of elements.
See Unmodifiable Sets for details.</para>
<para>Added in 9.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#of(E...)" title="Reference documentation">Java documentation for <code>java.util.Set.of(E...)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Of">
<MemberSignature Language="C#" Value="public static System.Collections.ICollection Of (Java.Lang.Object e1, Java.Lang.Object e2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ICollection Of(class Java.Lang.Object e1, class Java.Lang.Object e2) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Of(Java.Lang.Object,Java.Lang.Object)" />
<MemberSignature Language="F#" Value="static member Of : Java.Lang.Object * Java.Lang.Object -> System.Collections.ICollection" Usage="Java.Util.ISet.Of (e1, e2)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("of", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;", "", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("of", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;", "", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "E" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "E" })>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.ICollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e1" Type="Java.Lang.Object" />
<Parameter Name="e2" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="<E><E>">the <c>Set</c>'s element type</param>
<param name="e1">the first element</param>
<param name="e2">the second element</param>
<summary>Returns an unmodifiable set containing two elements.</summary>
<returns>a <c>Set</c> containing the specified elements</returns>
<remarks>
<para>Returns an unmodifiable set containing two elements.
See Unmodifiable Sets for details.</para>
<para>Added in 9.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#of(E,%20E)" title="Reference documentation">Java documentation for <code>java.util.Set.of(E, E)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Of">
<MemberSignature Language="C#" Value="public static System.Collections.ICollection Of (Java.Lang.Object e1, Java.Lang.Object e2, Java.Lang.Object e3);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ICollection Of(class Java.Lang.Object e1, class Java.Lang.Object e2, class Java.Lang.Object e3) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Of(Java.Lang.Object,Java.Lang.Object,Java.Lang.Object)" />
<MemberSignature Language="F#" Value="static member Of : Java.Lang.Object * Java.Lang.Object * Java.Lang.Object -> System.Collections.ICollection" Usage="Java.Util.ISet.Of (e1, e2, e3)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("of", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;", "", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("of", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;", "", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "E" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "E" })>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.ICollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e1" Type="Java.Lang.Object" />
<Parameter Name="e2" Type="Java.Lang.Object" />
<Parameter Name="e3" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="<E><E>">the <c>Set</c>'s element type</param>
<param name="e1">the first element</param>
<param name="e2">the second element</param>
<param name="e3">the third element</param>
<summary>Returns an unmodifiable set containing three elements.</summary>
<returns>a <c>Set</c> containing the specified elements</returns>
<remarks>
<para>Returns an unmodifiable set containing three elements.
See Unmodifiable Sets for details.</para>
<para>Added in 9.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#of(E,%20E,%20E)" title="Reference documentation">Java documentation for <code>java.util.Set.of(E, E, E)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Of">
<MemberSignature Language="C#" Value="public static System.Collections.ICollection Of (Java.Lang.Object e1, Java.Lang.Object e2, Java.Lang.Object e3, Java.Lang.Object e4);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ICollection Of(class Java.Lang.Object e1, class Java.Lang.Object e2, class Java.Lang.Object e3, class Java.Lang.Object e4) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Of(Java.Lang.Object,Java.Lang.Object,Java.Lang.Object,Java.Lang.Object)" />
<MemberSignature Language="F#" Value="static member Of : Java.Lang.Object * Java.Lang.Object * Java.Lang.Object * Java.Lang.Object -> System.Collections.ICollection" Usage="Java.Util.ISet.Of (e1, e2, e3, e4)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("of", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;", "", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("of", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;", "", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "E" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "E" })>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.ICollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e1" Type="Java.Lang.Object" />
<Parameter Name="e2" Type="Java.Lang.Object" />
<Parameter Name="e3" Type="Java.Lang.Object" />
<Parameter Name="e4" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="<E><E>">the <c>Set</c>'s element type</param>
<param name="e1">the first element</param>
<param name="e2">the second element</param>
<param name="e3">the third element</param>
<param name="e4">the fourth element</param>
<summary>Returns an unmodifiable set containing four elements.</summary>
<returns>a <c>Set</c> containing the specified elements</returns>
<remarks>
<para>Returns an unmodifiable set containing four elements.
See Unmodifiable Sets for details.</para>
<para>Added in 9.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/Set#of(E,%20E,%20E,%20E)" title="Reference documentation">Java documentation for <code>java.util.Set.of(E, E, E, E)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Of">
<MemberSignature Language="C#" Value="public static System.Collections.ICollection Of (Java.Lang.Object e1, Java.Lang.Object e2, Java.Lang.Object e3, Java.Lang.Object e4, Java.Lang.Object e5);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.ICollection Of(class Java.Lang.Object e1, class Java.Lang.Object e2, class Java.Lang.Object e3, class Java.Lang.Object e4, class Java.Lang.Object e5) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ISet.Of(Java.Lang.Object,Java.Lang.Object,Java.Lang.Object,Java.Lang.Object,Java.Lang.Object)" />
<MemberSignature Language="F#" Value="static member Of : Java.Lang.Object * Java.Lang.Object * Java.Lang.Object * Java.Lang.Object * Java.Lang.Object -> System.Collections.ICollection" Usage="Java.Util.ISet.Of (e1, e2, e3, e4, e5)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("of", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;", "", ApiSince=30)]</AttributeName>