-
Notifications
You must be signed in to change notification settings - Fork 0
/
SparseLongArray.xml
841 lines (841 loc) · 51.6 KB
/
SparseLongArray.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
<Type Name="SparseLongArray" FullName="Android.Util.SparseLongArray">
<TypeSignature Language="C#" Value="public class SparseLongArray : Java.Lang.Object, IDisposable, Java.Interop.IJavaPeerable, Java.Lang.ICloneable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SparseLongArray extends Java.Lang.Object implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.Lang.ICloneable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Util.SparseLongArray" />
<TypeSignature Language="F#" Value="type SparseLongArray = class
 inherit Object
 interface ICloneable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Lang.ICloneable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/util/SparseLongArray", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/util/SparseLongArray", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="18">
<summary>SparseLongArrays map integers to longs.</summary>
<remarks>
<para>SparseLongArrays map integers to longs. Unlike a normal array of longs,
there can be gaps in the indices. It is intended to be more memory efficient
than using a HashMap to map Integers to Longs, both because it avoids
auto-boxing keys and values and its data structure doesn't rely on an extra entry object
for each mapping.</para>
<para>Note that this container keeps its mappings in an array data structure,
using a binary search to find keys. The implementation is not intended to be appropriate for
data structures
that may contain large numbers of items. It is generally slower than a traditional
HashMap, since lookups require a binary search and adds and removes require inserting
and deleting entries in the array. For containers holding up to hundreds of items,
the performance difference is not significant, less than 50%.</para>
<para>It is possible to iterate over the items in this container using
<c>#keyAt(int)</c> and <c>#valueAt(int)</c>. Iterating over the keys using
<c>keyAt(int)</c> with ascending values of the index will return the
keys in ascending order, or the values corresponding to the keys in ascending
order in the case of <c>valueAt(int)</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray</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 18" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SparseLongArray ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.#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>Creates a new SparseLongArray containing no mappings.</summary>
<remarks>
<para>Creates a new SparseLongArray containing no mappings.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#SparseLongArray()" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.SparseLongArray()</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 18" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SparseLongArray (int initialCapacity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 initialCapacity) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.#ctor(System.Int32)" />
<MemberSignature Language="F#" Value="new Android.Util.SparseLongArray : int -> Android.Util.SparseLongArray" Usage="new Android.Util.SparseLongArray 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">To be added.</param>
<summary>Creates a new SparseLongArray containing no mappings that will not
require any additional memory allocation to store the specified
number of mappings.</summary>
<remarks>
<para>Creates a new SparseLongArray containing no mappings that will not
require any additional memory allocation to store the specified
number of mappings. If you supply an initial capacity of 0, the
sparse array will be initialized with a light-weight representation
not requiring any additional array allocations.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#SparseLongArray(int)" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.SparseLongArray(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 18" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected SparseLongArray (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:Android.Util.SparseLongArray.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Util.SparseLongArray : nativeint * Android.Runtime.JniHandleOwnership -> Android.Util.SparseLongArray" Usage="new Android.Util.SparseLongArray (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="Append">
<MemberSignature Language="C#" Value="public virtual void Append (int key, long value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Append(int32 key, int64 value) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.Append(System.Int32,System.Int64)" />
<MemberSignature Language="F#" Value="abstract member Append : int * int64 -> unit
override this.Append : int * int64 -> unit" Usage="sparseLongArray.Append (key, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("append", "(IJ)V", "GetAppend_IJHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("append", "(IJ)V", "GetAppend_IJHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.Int32" />
<Parameter Name="value" Type="System.Int64" />
</Parameters>
<Docs>
<param name="key">To be added.</param>
<param name="value">To be added.</param>
<summary>Puts a key/value pair into the array, optimizing for the case where
the key is greater than all existing keys in the array.</summary>
<remarks>
<para>Puts a key/value pair into the array, optimizing for the case where
the key is greater than all existing keys in the array.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#append(int,%20long)" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.append(int, long)</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 18" />
</Docs>
</Member>
<Member MemberName="Clear">
<MemberSignature Language="C#" Value="public virtual void Clear ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Clear() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.Clear" />
<MemberSignature Language="F#" Value="abstract member Clear : unit -> unit
override this.Clear : unit -> unit" Usage="sparseLongArray.Clear " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("clear", "()V", "GetClearHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("clear", "()V", "GetClearHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Removes all key-value mappings from this SparseLongArray.</summary>
<remarks>
<para>Removes all key-value mappings from this SparseLongArray.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#clear()" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.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 18" />
</Docs>
</Member>
<Member MemberName="Clone">
<MemberSignature Language="C#" Value="public virtual Android.Util.SparseLongArray? Clone ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.Util.SparseLongArray Clone() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.Clone" />
<MemberSignature Language="F#" Value="override this.Clone : unit -> Android.Util.SparseLongArray" Usage="sparseLongArray.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", "()Landroid/util/SparseLongArray;", "GetCloneHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("clone", "()Landroid/util/SparseLongArray;", "GetCloneHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Util.SparseLongArray</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates and returns a copy of this <c>Object</c>.</summary>
<returns>To be added.</returns>
<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 18" />
</Docs>
</Member>
<Member MemberName="Delete">
<MemberSignature Language="C#" Value="public virtual void Delete (int key);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Delete(int32 key) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.Delete(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member Delete : int -> unit
override this.Delete : int -> unit" Usage="sparseLongArray.Delete key" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("delete", "(I)V", "GetDelete_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("delete", "(I)V", "GetDelete_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.Int32" />
</Parameters>
<Docs>
<param name="key">To be added.</param>
<summary>Removes the mapping from the specified key, if there was any.</summary>
<remarks>
<para>Removes the mapping from the specified key, if there was any.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#delete(int)" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.delete(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 18" />
</Docs>
</Member>
<Member MemberName="Get">
<MemberSignature Language="C#" Value="public virtual long Get (int key);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int64 Get(int32 key) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.Get(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member Get : int -> int64
override this.Get : int -> int64" Usage="sparseLongArray.Get key" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("get", "(I)J", "GetGet_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("get", "(I)J", "GetGet_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.Int32" />
</Parameters>
<Docs>
<param name="key">To be added.</param>
<summary>Gets the long mapped from the specified key, or <c>0</c>
if no such mapping has been made.</summary>
<returns>To be added.</returns>
<remarks>
<para>Gets the long mapped from the specified key, or <c>0</c>
if no such mapping has been made.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#get(int)" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.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 18" />
</Docs>
</Member>
<Member MemberName="Get">
<MemberSignature Language="C#" Value="public virtual long Get (int key, long valueIfKeyNotFound);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int64 Get(int32 key, int64 valueIfKeyNotFound) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.Get(System.Int32,System.Int64)" />
<MemberSignature Language="F#" Value="abstract member Get : int * int64 -> int64
override this.Get : int * int64 -> int64" Usage="sparseLongArray.Get (key, valueIfKeyNotFound)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("get", "(IJ)J", "GetGet_IJHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("get", "(IJ)J", "GetGet_IJHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.Int32" />
<Parameter Name="valueIfKeyNotFound" Type="System.Int64" />
</Parameters>
<Docs>
<param name="key">To be added.</param>
<param name="valueIfKeyNotFound">To be added.</param>
<summary>Gets the long mapped from the specified key, or the specified value
if no such mapping has been made.</summary>
<returns>To be added.</returns>
<remarks>
<para>Gets the long mapped from the specified key, or the specified value
if no such mapping has been made.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#get(int,%20long)" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.get(int, long)</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 18" />
</Docs>
</Member>
<Member MemberName="IndexOfKey">
<MemberSignature Language="C#" Value="public virtual int IndexOfKey (int key);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 IndexOfKey(int32 key) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.IndexOfKey(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member IndexOfKey : int -> int
override this.IndexOfKey : int -> int" Usage="sparseLongArray.IndexOfKey key" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("indexOfKey", "(I)I", "GetIndexOfKey_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("indexOfKey", "(I)I", "GetIndexOfKey_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.Int32" />
</Parameters>
<Docs>
<param name="key">To be added.</param>
<summary>Returns the index for which <c>#keyAt</c> would return the
specified key, or a negative number if the specified
key is not mapped.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns the index for which <c>#keyAt</c> would return the
specified key, or a negative number if the specified
key is not mapped.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#indexOfKey(int)" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.indexOfKey(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 18" />
</Docs>
</Member>
<Member MemberName="IndexOfValue">
<MemberSignature Language="C#" Value="public virtual int IndexOfValue (long value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 IndexOfValue(int64 value) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.IndexOfValue(System.Int64)" />
<MemberSignature Language="F#" Value="abstract member IndexOfValue : int64 -> int
override this.IndexOfValue : int64 -> int" Usage="sparseLongArray.IndexOfValue value" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("indexOfValue", "(J)I", "GetIndexOfValue_JHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("indexOfValue", "(J)I", "GetIndexOfValue_JHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Int64" />
</Parameters>
<Docs>
<param name="value">To be added.</param>
<summary>Returns an index for which <c>#valueAt</c> would return the
specified key, or a negative number if no keys map to the
specified value.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns an index for which <c>#valueAt</c> would return the
specified key, or a negative number if no keys map to the
specified value.
Beware that this is a linear search, unlike lookups by key,
and that multiple keys can map to the same value and this will
find only one of them.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#indexOfValue(long)" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.indexOfValue(long)</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 18" />
</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:Android.Util.SparseLongArray.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Util.SparseLongArray.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="KeyAt">
<MemberSignature Language="C#" Value="public virtual int KeyAt (int index);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 KeyAt(int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.KeyAt(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member KeyAt : int -> int
override this.KeyAt : int -> int" Usage="sparseLongArray.KeyAt index" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("keyAt", "(I)I", "GetKeyAt_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("keyAt", "(I)I", "GetKeyAt_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">To be added.</param>
<summary>Given an index in the range <c>0...size()-1</c>, returns
the key from the <c>index</c>th key-value mapping that this
SparseLongArray stores.</summary>
<returns>To be added.</returns>
<remarks>
<para>Given an index in the range <c>0...size()-1</c>, returns
the key from the <c>index</c>th key-value mapping that this
SparseLongArray stores.</para>
<para>The keys corresponding to indices in ascending order are guaranteed to
be in ascending order, e.g., <c>keyAt(0)</c> will return the
smallest key and <c>keyAt(size()-1)</c> will return the largest
key.</para>
<para>For indices outside of the range <c>0...size()-1</c>, the behavior is undefined for
apps targeting <c>android.os.Build.VERSION_CODES#P</c> and earlier, and an
<c>ArrayIndexOutOfBoundsException</c> is thrown for apps targeting
<c>android.os.Build.VERSION_CODES#Q</c> and later.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#keyAt(int)" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.keyAt(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 18" />
</Docs>
</Member>
<Member MemberName="Put">
<MemberSignature Language="C#" Value="public virtual void Put (int key, long value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Put(int32 key, int64 value) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.Put(System.Int32,System.Int64)" />
<MemberSignature Language="F#" Value="abstract member Put : int * int64 -> unit
override this.Put : int * int64 -> unit" Usage="sparseLongArray.Put (key, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("put", "(IJ)V", "GetPut_IJHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("put", "(IJ)V", "GetPut_IJHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.Int32" />
<Parameter Name="value" Type="System.Int64" />
</Parameters>
<Docs>
<param name="key">To be added.</param>
<param name="value">To be added.</param>
<summary>Adds a mapping from the specified key to the specified value,
replacing the previous mapping from the specified key if there
was one.</summary>
<remarks>
<para>Adds a mapping from the specified key to the specified value,
replacing the previous mapping from the specified key if there
was one.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#put(int,%20long)" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.put(int, long)</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 18" />
</Docs>
</Member>
<Member MemberName="RemoveAt">
<MemberSignature Language="C#" Value="public virtual void RemoveAt (int index);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RemoveAt(int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.RemoveAt(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member RemoveAt : int -> unit
override this.RemoveAt : int -> unit" Usage="sparseLongArray.RemoveAt index" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("removeAt", "(I)V", "GetRemoveAt_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("removeAt", "(I)V", "GetRemoveAt_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">To be added.</param>
<summary>Removes the mapping at the given index.</summary>
<remarks>
<para>Removes the mapping at the given index.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#removeAt(int)" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.removeAt(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 18" />
</Docs>
</Member>
<Member MemberName="Size">
<MemberSignature Language="C#" Value="public virtual int Size ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 Size() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.Size" />
<MemberSignature Language="F#" Value="abstract member Size : unit -> int
override this.Size : unit -> int" Usage="sparseLongArray.Size " />
<MemberType>Method</MemberType>
<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 key-value mappings that this SparseLongArray
currently stores.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns the number of key-value mappings that this SparseLongArray
currently stores.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#size()" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.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 18" />
</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:Android.Util.SparseLongArray.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Util.SparseLongArray.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:Android.Util.SparseLongArray.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.Util.SparseLongArray.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="ValueAt">
<MemberSignature Language="C#" Value="public virtual long ValueAt (int index);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int64 ValueAt(int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Util.SparseLongArray.ValueAt(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member ValueAt : int -> int64
override this.ValueAt : int -> int64" Usage="sparseLongArray.ValueAt index" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("valueAt", "(I)J", "GetValueAt_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("valueAt", "(I)J", "GetValueAt_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">To be added.</param>
<summary>Given an index in the range <c>0...size()-1</c>, returns
the value from the <c>index</c>th key-value mapping that this
SparseLongArray stores.</summary>
<returns>To be added.</returns>
<remarks>
<para>Given an index in the range <c>0...size()-1</c>, returns
the value from the <c>index</c>th key-value mapping that this
SparseLongArray stores.</para>
<para>The values corresponding to indices in ascending order are guaranteed
to be associated with keys in ascending order, e.g.,
<c>valueAt(0)</c> will return the value associated with the
smallest key and <c>valueAt(size()-1)</c> will return the value
associated with the largest key.</para>
<para>For indices outside of the range <c>0...size()-1</c>, the behavior is undefined for
apps targeting <c>android.os.Build.VERSION_CODES#P</c> and earlier, and an
<c>ArrayIndexOutOfBoundsException</c> is thrown for apps targeting
<c>android.os.Build.VERSION_CODES#Q</c> and later.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/util/SparseLongArray#valueAt(int)" title="Reference documentation">Java documentation for <code>android.util.SparseLongArray.valueAt(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 18" />
</Docs>
</Member>
</Members>
</Type>