/
ICharacterIterator.xml
519 lines (519 loc) · 32.1 KB
/
ICharacterIterator.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
<Type Name="ICharacterIterator" FullName="Java.Text.ICharacterIterator">
<TypeSignature Language="C#" Value="public interface ICharacterIterator : IDisposable, Java.Interop.IJavaPeerable, Java.Lang.ICloneable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit ICharacterIterator implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.Lang.ICloneable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Text.ICharacterIterator" />
<TypeSignature Language="F#" Value="type ICharacterIterator = interface
 interface ICloneable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Lang.ICloneable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/text/CharacterIterator", "", "Java.Text.ICharacterIteratorInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/text/CharacterIterator", "", "Java.Text.ICharacterIteratorInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>This interface defines a protocol for bidirectional iteration over text.</summary>
<remarks>
<para>This interface defines a protocol for bidirectional iteration over text.
The iterator iterates over a bounded sequence of characters. Characters
are indexed with values beginning with the value returned by getBeginIndex() and
continuing through the value returned by getEndIndex()-1.</para>
<para>Iterators maintain a current character index, whose valid range is from
getBeginIndex() to getEndIndex(); the value getEndIndex() is included to allow
handling of zero-length text ranges and for historical reasons.
The current index can be retrieved by calling getIndex() and set directly
by calling setIndex(), first(), and last().</para>
<para>The methods previous() and next() are used for iteration. They return DONE if
they would move outside the range from getBeginIndex() to getEndIndex() -1,
signaling that the iterator has reached the end of the sequence. DONE is
also returned by other methods to indicate that the current index is
outside this range.</para>
<para>Examples:</para>
<para>Traverse the text from start to finish</para>
<code lang="text/java">{@code
public void traverseForward(CharacterIterator iter) {
for(char c = iter.first(); c != CharacterIterator.DONE; c = iter.next()) {
processChar(c);
}
}
}</code>
<para>Traverse the text backwards, from end to start</para>
<code lang="text/java">{@code
public void traverseBackward(CharacterIterator iter) {
for(char c = iter.last(); c != CharacterIterator.DONE; c = iter.previous()) {
processChar(c);
}
}
}</code>
<para>Traverse both forward and backward from a given position in the text.
Calls to notBoundary() in this example represents some
additional stopping criteria.</para>
<code lang="text/java">{@code
public void traverseOut(CharacterIterator iter, int pos) {
for (char c = iter.setIndex(pos);
c != CharacterIterator.DONE && notBoundary(c);
c = iter.next()) {
}
int end = iter.getIndex();
for (char c = iter.setIndex(pos);
c != CharacterIterator.DONE && notBoundary(c);
c = iter.previous()) {
}
int start = iter.getIndex();
processSection(start, end);
}
}</code>
<para>Added in 1.1.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/CharacterIterator" title="Reference documentation">Java documentation for <code>java.text.CharacterIterator</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="BeginIndex">
<MemberSignature Language="C#" Value="public int BeginIndex { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 BeginIndex" />
<MemberSignature Language="DocId" Value="P:Java.Text.ICharacterIterator.BeginIndex" />
<MemberSignature Language="F#" Value="member this.BeginIndex : int" Usage="Java.Text.ICharacterIterator.BeginIndex" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getBeginIndex", "()I", "GetGetBeginIndexHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getBeginIndex", "()I", "GetGetBeginIndexHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the begin index.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Clone">
<MemberSignature Language="C#" Value="public 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.Text.ICharacterIterator.Clone" />
<MemberSignature Language="F#" Value="abstract member Clone : unit -> Java.Lang.Object" Usage="iCharacterIterator.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:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("clone", "()Ljava/lang/Object;", "GetCloneHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Create a copy of this iterator</summary>
<returns>A copy of this</returns>
<remarks>
<para>Create a copy of this iterator</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/CharacterIterator#clone()" title="Reference documentation">Java documentation for <code>java.text.CharacterIterator.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="Current">
<MemberSignature Language="C#" Value="public char Current ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance char Current() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ICharacterIterator.Current" />
<MemberSignature Language="F#" Value="abstract member Current : unit -> char" Usage="iCharacterIterator.Current " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("current", "()C", "GetCurrentHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("current", "()C", "GetCurrentHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Char</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets the character at the current position (as returned by getIndex()).</summary>
<returns>the character at the current position or DONE if the current
position is off the end of the text.</returns>
<remarks>
<para>Gets the character at the current position (as returned by getIndex()).</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/CharacterIterator#current()" title="Reference documentation">Java documentation for <code>java.text.CharacterIterator.current()</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="Done">
<MemberSignature Language="C#" Value="public const char Done;" />
<MemberSignature Language="ILAsm" Value=".field public static literal char Done" />
<MemberSignature Language="DocId" Value="F:Java.Text.ICharacterIterator.Done" />
<MemberSignature Language="F#" Value="val mutable Done : char" Usage="Java.Text.ICharacterIterator.Done" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("DONE")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("DONE")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Char</ReturnType>
</ReturnValue>
<Docs>
<summary>Constant that is returned when the iterator has reached either the end
or the beginning of the text.</summary>
<remarks>
<para>Constant that is returned when the iterator has reached either the end
or the beginning of the text. The value is '\\uFFFF', the "not a
character" value which should not occur in any valid Unicode string.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/CharacterIterator#DONE" title="Reference documentation">Java documentation for <code>java.text.CharacterIterator.DONE</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="EndIndex">
<MemberSignature Language="C#" Value="public int EndIndex { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 EndIndex" />
<MemberSignature Language="DocId" Value="P:Java.Text.ICharacterIterator.EndIndex" />
<MemberSignature Language="F#" Value="member this.EndIndex : int" Usage="Java.Text.ICharacterIterator.EndIndex" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getEndIndex", "()I", "GetGetEndIndexHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getEndIndex", "()I", "GetGetEndIndexHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the end index.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="First">
<MemberSignature Language="C#" Value="public char First ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance char First() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ICharacterIterator.First" />
<MemberSignature Language="F#" Value="abstract member First : unit -> char" Usage="iCharacterIterator.First " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("first", "()C", "GetFirstHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("first", "()C", "GetFirstHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Char</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Sets the position to getBeginIndex() and returns the character at that
position.</summary>
<returns>the first character in the text, or DONE if the text is empty</returns>
<remarks>
<para>Sets the position to getBeginIndex() and returns the character at that
position.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/CharacterIterator#first()" title="Reference documentation">Java documentation for <code>java.text.CharacterIterator.first()</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="Index">
<MemberSignature Language="C#" Value="public int Index { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Index" />
<MemberSignature Language="DocId" Value="P:Java.Text.ICharacterIterator.Index" />
<MemberSignature Language="F#" Value="member this.Index : int" Usage="Java.Text.ICharacterIterator.Index" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getIndex", "()I", "GetGetIndexHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getIndex", "()I", "GetGetIndexHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the current index.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Last">
<MemberSignature Language="C#" Value="public char Last ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance char Last() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ICharacterIterator.Last" />
<MemberSignature Language="F#" Value="abstract member Last : unit -> char" Usage="iCharacterIterator.Last " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("last", "()C", "GetLastHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("last", "()C", "GetLastHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Char</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty)
and returns the character at that position.</summary>
<returns>the last character in the text, or DONE if the text is empty</returns>
<remarks>
<para>Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty)
and returns the character at that position.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/CharacterIterator#last()" title="Reference documentation">Java documentation for <code>java.text.CharacterIterator.last()</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="Next">
<MemberSignature Language="C#" Value="public char Next ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance char Next() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ICharacterIterator.Next" />
<MemberSignature Language="F#" Value="abstract member Next : unit -> char" Usage="iCharacterIterator.Next " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("next", "()C", "GetNextHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("next", "()C", "GetNextHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Char</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Increments the iterator's index by one and returns the character
at the new index.</summary>
<returns>the character at the new position or DONE if the new
position is off the end of the text range.</returns>
<remarks>
<para>Increments the iterator's index by one and returns the character
at the new index. If the resulting index is greater or equal
to getEndIndex(), the current index is reset to getEndIndex() and
a value of DONE is returned.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/CharacterIterator#next()" title="Reference documentation">Java documentation for <code>java.text.CharacterIterator.next()</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="Previous">
<MemberSignature Language="C#" Value="public char Previous ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance char Previous() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ICharacterIterator.Previous" />
<MemberSignature Language="F#" Value="abstract member Previous : unit -> char" Usage="iCharacterIterator.Previous " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("previous", "()C", "GetPreviousHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("previous", "()C", "GetPreviousHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Char</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Decrements the iterator's index by one and returns the character
at the new index.</summary>
<returns>the character at the new position or DONE if the current
position is equal to getBeginIndex().</returns>
<remarks>
<para>Decrements the iterator's index by one and returns the character
at the new index. If the current index is getBeginIndex(), the index
remains at getBeginIndex() and a value of DONE is returned.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/CharacterIterator#previous()" title="Reference documentation">Java documentation for <code>java.text.CharacterIterator.previous()</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="SetIndex">
<MemberSignature Language="C#" Value="public char SetIndex (int position);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance char SetIndex(int32 position) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ICharacterIterator.SetIndex(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member SetIndex : int -> char" Usage="iCharacterIterator.SetIndex position" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setIndex", "(I)C", "GetSetIndex_IHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setIndex", "(I)C", "GetSetIndex_IHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Char</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="position" Type="System.Int32" />
</Parameters>
<Docs>
<param name="position">the position within the text. Valid values range from
getBeginIndex() to getEndIndex(). An IllegalArgumentException is thrown
if an invalid value is supplied.</param>
<summary>Sets the position to the specified position in the text and returns that
character.</summary>
<returns>the character at the specified position or DONE if the specified position is equal to getEndIndex()</returns>
<remarks>
<para>Sets the position to the specified position in the text and returns that
character.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/CharacterIterator#setIndex(int)" title="Reference documentation">Java documentation for <code>java.text.CharacterIterator.setIndex(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" />
<exception cref="T:Java.Lang.IllegalArgumentException">if <c>location</c> is less than the begin index or greater than
the end index.
</exception>
</Docs>
</Member>
</Members>
</Type>