-
Notifications
You must be signed in to change notification settings - Fork 0
/
ArrayList.xml
795 lines (794 loc) · 50.4 KB
/
ArrayList.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
<Type Name="ArrayList" FullName="Java.Util.ArrayList">
<TypeSignature Language="C#" Value="public class ArrayList : Java.Util.AbstractList, IDisposable, Java.Interop.IJavaPeerable, Java.IO.ISerializable, Java.Lang.ICloneable, Java.Util.IRandomAccess" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ArrayList extends Java.Util.AbstractList implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.IO.ISerializable, class Java.Lang.ICloneable, class Java.Lang.IIterable, class Java.Util.ICollection, class Java.Util.IList, class Java.Util.IRandomAccess, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Util.ArrayList" />
<TypeSignature Language="F#" Value="type ArrayList = class
 inherit AbstractList
 interface ISerializable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable
 interface ICloneable
 interface IList
 interface ICollection
 interface IIterable
 interface IRandomAccess" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Util.AbstractList</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.IO.ISerializable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Lang.ICloneable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Lang.IIterable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Util.ICollection</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Util.IList</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Util.IRandomAccess</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/util/ArrayList", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/util/ArrayList", DoNotGenerateAcw=true)>]</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 in this list</param>
<summary>Resizable-array implementation of the <c>List</c> interface.</summary>
<remarks>
<para>Resizable-array implementation of the <c>List</c> interface. Implements
all optional list operations, and permits all elements, including
<c>null</c>. In addition to implementing the <c>List</c> interface,
this class provides methods to manipulate the size of the array that is
used internally to store the list. (This class is roughly equivalent to
<c>Vector</c>, except that it is unsynchronized.)</para>
<para>The <c>size</c>, <c>isEmpty</c>, <c>get</c>, <c>set</c>,
<c>iterator</c>, and <c>listIterator</c> operations run in constant
time. The <c>add</c> operation runs in <i>amortized constant time</i>,
that is, adding n elements requires O(n) time. All of the other operations
run in linear time (roughly speaking). The constant factor is low compared
to that for the <c>LinkedList</c> implementation.</para>
<para>Each <c>ArrayList</c> instance has a <i>capacity</i>. The capacity is
the size of the array used to store the elements in the list. It is always
at least as large as the list size. As elements are added to an ArrayList,
its capacity grows automatically. The details of the growth policy are not
specified beyond the fact that adding an element has constant amortized
time cost.</para>
<para>An application can increase the capacity of an <c>ArrayList</c> instance
before adding a large number of elements using the <c>ensureCapacity</c>
operation. This may reduce the amount of incremental reallocation.</para>
<para><strong>Note that this implementation is not synchronized.</strong>
If multiple threads access an <c>ArrayList</c> instance concurrently,
and at least one of the threads modifies the list structurally, it
<i>must</i> be synchronized externally. (A structural modification is
any operation that adds or deletes one or more elements, or explicitly
resizes the backing array; merely setting the value of an element is not
a structural modification.) This is typically accomplished by
synchronizing on some object that naturally encapsulates the list.
If no such object exists, the list should be "wrapped" using the
<c>Collections#synchronizedList Collections.synchronizedList</c>
method. This is best done at creation time, to prevent accidental
unsynchronized access to the list:</para>
<code lang="text/java">List list = Collections.synchronizedList(new ArrayList(...));</code>
<para><p id="fail-fast">
The iterators returned by this class's <c>#iterator() iterator</c> and
<c>#listIterator(int) listIterator</c> methods are <em>fail-fast</em>:
if the list is structurally modified at any time after the iterator is
created, in any way except through the iterator's own
<c>ListIterator#remove() remove</c> or
<c>ListIterator#add(Object) add</c> methods, the iterator will throw a
<c>ConcurrentModificationException</c>. Thus, in the face of
concurrent modification, the iterator fails quickly and cleanly, rather
than risking arbitrary, non-deterministic behavior at an undetermined
time in the future.</para>
<para>Note that the fail-fast behavior of an iterator cannot be guaranteed
as it is, generally speaking, impossible to make any hard guarantees in the
presence of unsynchronized concurrent modification. Fail-fast iterators
throw <c>ConcurrentModificationException</c> on a best-effort basis.
Therefore, it would be wrong to write a program that depended on this
exception for its correctness: <i>the fail-fast behavior of iterators
should be used only to detect bugs.</i></para>
<para>This class 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/ArrayList" title="Reference documentation">Java documentation for <code>java.util.ArrayList</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=".ctor">
<MemberSignature Language="C#" Value="public ArrayList ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "()V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "()V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Constructs an empty list with an initial capacity of ten.</summary>
<remarks>
<para>Constructs an empty list with an initial capacity of ten.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/ArrayList#ArrayList()" title="Reference documentation">Java documentation for <code>java.util.ArrayList.ArrayList()</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=".ctor">
<MemberSignature Language="C#" Value="public ArrayList (System.Collections.ICollection c);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.ICollection c) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.#ctor(System.Collections.ICollection)" />
<MemberSignature Language="F#" Value="new Java.Util.ArrayList : System.Collections.ICollection -> Java.Util.ArrayList" Usage="new Java.Util.ArrayList c" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="c" Type="System.Collections.ICollection" />
</Parameters>
<Docs>
<param name="c">the collection whose elements are to be placed into this list</param>
<summary>Constructs a list containing the elements of the specified
collection, in the order they are returned by the collection's
iterator.</summary>
<remarks>
<para>Constructs a list containing the elements of the specified
collection, in the order they are returned by the collection's
iterator.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/ArrayList#ArrayList(java.util.Collection%3C?%20extends%20E%3E)" title="Reference documentation">Java documentation for <code>java.util.ArrayList.ArrayList(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=".ctor">
<MemberSignature Language="C#" Value="public ArrayList (int initialCapacity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 initialCapacity) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.#ctor(System.Int32)" />
<MemberSignature Language="F#" Value="new Java.Util.ArrayList : int -> Java.Util.ArrayList" Usage="new Java.Util.ArrayList initialCapacity" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(I)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(I)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="initialCapacity" Type="System.Int32" />
</Parameters>
<Docs>
<param name="initialCapacity">the initial capacity of the list</param>
<summary>Constructs an empty list with the specified initial capacity.</summary>
<remarks>
<para>Constructs an empty list with the specified initial capacity.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/ArrayList#ArrayList(int)" title="Reference documentation">Java documentation for <code>java.util.ArrayList.ArrayList(int)</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=".ctor">
<MemberSignature Language="C#" Value="protected ArrayList (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Java.Util.ArrayList : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.ArrayList" Usage="new Java.Util.ArrayList (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</summary>
<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>
</Docs>
</Member>
<Member MemberName="Clone">
<MemberSignature Language="C#" Value="public virtual Java.Lang.Object Clone ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Lang.Object Clone() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.Clone" />
<MemberSignature Language="F#" Value="override this.Clone : unit -> Java.Lang.Object" Usage="arrayList.Clone " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("clone", "()Ljava/lang/Object;", "GetCloneHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("clone", "()Ljava/lang/Object;", "GetCloneHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns a shallow copy of this <c>ArrayList</c> instance.</summary>
<returns>a clone of this <c>ArrayList</c> instance</returns>
<remarks>
<para>Returns a shallow copy of this <c>ArrayList</c> instance. (The
elements themselves are not copied.)</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/ArrayList#clone()" title="Reference documentation">Java documentation for <code>java.util.ArrayList.clone()</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.Lang.ICloneable" />
</Docs>
</Member>
<Member MemberName="EnsureCapacity">
<MemberSignature Language="C#" Value="public virtual void EnsureCapacity (int minCapacity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void EnsureCapacity(int32 minCapacity) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.EnsureCapacity(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member EnsureCapacity : int -> unit
override this.EnsureCapacity : int -> unit" Usage="arrayList.EnsureCapacity minCapacity" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ensureCapacity", "(I)V", "GetEnsureCapacity_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ensureCapacity", "(I)V", "GetEnsureCapacity_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="minCapacity" Type="System.Int32" />
</Parameters>
<Docs>
<param name="minCapacity">the desired minimum capacity</param>
<summary>Increases the capacity of this <c>ArrayList</c> instance, if
necessary, to ensure that it can hold at least the number of elements
specified by the minimum capacity argument.</summary>
<remarks>
<para>Increases the capacity of this <c>ArrayList</c> instance, if
necessary, to ensure that it can hold at least the number of elements
specified by the minimum capacity argument.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/ArrayList#ensureCapacity(int)" title="Reference documentation">Java documentation for <code>java.util.ArrayList.ensureCapacity(int)</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="ForEach">
<MemberSignature Language="C#" Value="public virtual void ForEach (Java.Util.Functions.IConsumer action);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ForEach(class Java.Util.Functions.IConsumer action) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.ForEach(Java.Util.Functions.IConsumer)" />
<MemberSignature Language="F#" Value="abstract member ForEach : Java.Util.Functions.IConsumer -> unit
override this.ForEach : Java.Util.Functions.IConsumer -> unit" Usage="arrayList.ForEach action" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Lang.IIterable.ForEach(Java.Util.Functions.IConsumer)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("forEach", "(Ljava/util/function/Consumer;)V", "GetForEach_Ljava_util_function_Consumer_Handler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("forEach", "(Ljava/util/function/Consumer;)V", "GetForEach_Ljava_util_function_Consumer_Handler", 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>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="action" Type="Java.Util.Functions.IConsumer" />
</Parameters>
<Docs>
<param name="action">To be added.</param>
<summary>To be added.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/ArrayList#forEach(java.util.function.Consumer%3C?%20super%20E%3E)" title="Reference documentation">Java documentation for <code>java.util.ArrayList.forEach(java.util.function.Consumer<? super 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="Get">
<MemberSignature Language="C#" Value="public override Java.Lang.Object? Get (int index);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class Java.Lang.Object Get(int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.Get(System.Int32)" />
<MemberSignature Language="F#" Value="override this.Get : int -> Java.Lang.Object" Usage="arrayList.Get index" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.IList.Get(System.Int32)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("get", "(I)Ljava/lang/Object;", "GetGet_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("get", "(I)Ljava/lang/Object;", "GetGet_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">index of the element to return</param>
<summary>Returns the element at the specified position in this list.</summary>
<returns>the element at the specified position in this list</returns>
<remarks>
<para>Returns the element at the specified position in this list.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/ArrayList#get(int)" title="Reference documentation">Java documentation for <code>java.util.ArrayList.get(int)</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="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Java.Util.ArrayList.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Java.Util.ArrayList.JniPeerMembers" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Java.Interop.IJavaPeerable.JniPeerMembers</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</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>
</Docs>
</Member>
<Member MemberName="RemoveIf">
<MemberSignature Language="C#" Value="public virtual bool RemoveIf (Java.Util.Functions.IPredicate filter);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool RemoveIf(class Java.Util.Functions.IPredicate filter) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.RemoveIf(Java.Util.Functions.IPredicate)" />
<MemberSignature Language="F#" Value="abstract member RemoveIf : Java.Util.Functions.IPredicate -> bool
override this.RemoveIf : Java.Util.Functions.IPredicate -> bool" Usage="arrayList.RemoveIf filter" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.ICollection.RemoveIf(Java.Util.Functions.IPredicate)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("removeIf", "(Ljava/util/function/Predicate;)Z", "GetRemoveIf_Ljava_util_function_Predicate_Handler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("removeIf", "(Ljava/util/function/Predicate;)Z", "GetRemoveIf_Ljava_util_function_Predicate_Handler", 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>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="filter" Type="Java.Util.Functions.IPredicate" />
</Parameters>
<Docs>
<param name="filter">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/ArrayList#removeIf(java.util.function.Predicate%3C?%20super%20E%3E)" title="Reference documentation">Java documentation for <code>java.util.ArrayList.removeIf(java.util.function.Predicate<? super 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="ReplaceAll">
<MemberSignature Language="C#" Value="public virtual void ReplaceAll (Java.Util.Functions.IUnaryOperator operator);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ReplaceAll(class Java.Util.Functions.IUnaryOperator operator) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.ReplaceAll(Java.Util.Functions.IUnaryOperator)" />
<MemberSignature Language="F#" Value="abstract member ReplaceAll : Java.Util.Functions.IUnaryOperator -> unit
override this.ReplaceAll : Java.Util.Functions.IUnaryOperator -> unit" Usage="arrayList.ReplaceAll operator" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.IList.ReplaceAll(Java.Util.Functions.IUnaryOperator)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("replaceAll", "(Ljava/util/function/UnaryOperator;)V", "GetReplaceAll_Ljava_util_function_UnaryOperator_Handler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("replaceAll", "(Ljava/util/function/UnaryOperator;)V", "GetReplaceAll_Ljava_util_function_UnaryOperator_Handler", 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>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operator" Type="Java.Util.Functions.IUnaryOperator" />
</Parameters>
<Docs>
<param name="operator">To be added.</param>
<summary>To be added.</summary>
<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>
</Docs>
</Member>
<Member MemberName="Size">
<MemberSignature Language="C#" Value="public override int Size ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 Size() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.Size" />
<MemberSignature Language="F#" Value="override this.Size : unit -> int" Usage="arrayList.Size " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.IList.Size</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("size", "()I", "GetSizeHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("size", "()I", "GetSizeHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the number of elements in this list.</summary>
<returns>the number of elements in this list</returns>
<remarks>
<para>Returns the number of elements in this list.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/ArrayList#size()" title="Reference documentation">Java documentation for <code>java.util.ArrayList.size()</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="Sort">
<MemberSignature Language="C#" Value="public virtual void Sort (Java.Util.IComparator? c);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Sort(class Java.Util.IComparator c) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.Sort(Java.Util.IComparator)" />
<MemberSignature Language="F#" Value="abstract member Sort : Java.Util.IComparator -> unit
override this.Sort : Java.Util.IComparator -> unit" Usage="arrayList.Sort c" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.IList.Sort(Java.Util.IComparator)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("sort", "(Ljava/util/Comparator;)V", "GetSort_Ljava_util_Comparator_Handler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("sort", "(Ljava/util/Comparator;)V", "GetSort_Ljava_util_Comparator_Handler", 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>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="c" Type="Java.Util.IComparator" />
</Parameters>
<Docs>
<param name="c">To be added.</param>
<summary>To be added.</summary>
<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>
</Docs>
</Member>
<Member MemberName="Spliterator">
<MemberSignature Language="C#" Value="public virtual Java.Util.ISpliterator Spliterator ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Util.ISpliterator Spliterator() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.Spliterator" />
<MemberSignature Language="F#" Value="abstract member Spliterator : unit -> Java.Util.ISpliterator
override this.Spliterator : unit -> Java.Util.ISpliterator" Usage="arrayList.Spliterator " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Util.IList.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", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("spliterator", "()Ljava/util/Spliterator;", "GetSpliteratorHandler", 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 <em>late-binding</em>
and <em>fail-fast</em> <c>Spliterator</c> over the elements in this
list.</summary>
<returns>a <c>Spliterator</c> over the elements in this list</returns>
<remarks>
<para>Creates a <em>late-binding</em>
and <em>fail-fast</em> <c>Spliterator</c> over the elements in this
list.</para>
<para>The <c>Spliterator</c> reports <c>Spliterator#SIZED</c>,
<c>Spliterator#SUBSIZED</c>, and <c>Spliterator#ORDERED</c>.
Overriding 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/ArrayList#spliterator()" title="Reference documentation">Java documentation for <code>java.util.ArrayList.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="ThresholdClass">
<MemberSignature Language="C#" Value="protected override IntPtr ThresholdClass { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ThresholdClass" />
<MemberSignature Language="DocId" Value="P:Java.Util.ArrayList.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Java.Util.ArrayList.ThresholdClass" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.IntPtr" /> which contains the <c>java.lang.Class</c> JNI value corresponding to this type.</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>
</Docs>
</Member>
<Member MemberName="ThresholdType">
<MemberSignature Language="C#" Value="protected override Type ThresholdType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ThresholdType" />
<MemberSignature Language="DocId" Value="P:Java.Util.ArrayList.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Java.Util.ArrayList.ThresholdType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.Type" /> which provides the declaring type.</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>
</Docs>
</Member>
<Member MemberName="TrimToSize">
<MemberSignature Language="C#" Value="public virtual void TrimToSize ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void TrimToSize() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.ArrayList.TrimToSize" />
<MemberSignature Language="F#" Value="abstract member TrimToSize : unit -> unit
override this.TrimToSize : unit -> unit" Usage="arrayList.TrimToSize " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("trimToSize", "()V", "GetTrimToSizeHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("trimToSize", "()V", "GetTrimToSizeHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Trims the capacity of this <c>ArrayList</c> instance to be the
list's current size.</summary>
<remarks>
<para>Trims the capacity of this <c>ArrayList</c> instance to be the
list's current size. An application can use this operation to minimize
the storage of an <c>ArrayList</c> instance.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/ArrayList#trimToSize()" title="Reference documentation">Java documentation for <code>java.util.ArrayList.trimToSize()</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>
</Members>
</Type>