IT. Expert System.

Android Reference

WordIterator


android.text.method

Class WordIterator

    • Constructor Detail

      • WordIterator

        public WordIterator()
        Constructs a WordIterator using the default locale.
      • WordIterator

        public WordIterator(Locale locale)
        Constructs a new WordIterator for the specified locale.
        Parameters:
        locale - The locale to be used when analysing the text.
    • Method Detail

      • setCharSequence

        public void setCharSequence(CharSequence charSequence,
                           int start,
                           int end)
      • getBeginning

        public int getBeginning(int offset)
        If offset is within a word, returns the index of the first character of that word, otherwise returns BreakIterator.DONE. The offsets that are considered to be part of a word are the indexes of its characters, as well as the index of its last character plus one. If offset is the index of a low surrogate character, BreakIterator.DONE will be returned. Valid range for offset is [0..textLength] (note the inclusive upper bound). The returned value is within [0..offset] or BreakIterator.DONE.
        Throws:
        IllegalArgumentException - is offset is not valid.
      • getEnd

        public int getEnd(int offset)
        If offset is within a word, returns the index of the last character of that word plus one, otherwise returns BreakIterator.DONE. The offsets that are considered to be part of a word are the indexes of its characters, as well as the index of its last character plus one. If offset is the index of a low surrogate character, BreakIterator.DONE will be returned. Valid range for offset is [0..textLength] (note the inclusive upper bound). The returned value is within [offset..textLength] or BreakIterator.DONE.
        Throws:
        IllegalArgumentException - is offset is not valid.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 369 / 158861642. Delta: 0.03425 с