IT. Expert System.

Android Reference

TextUtilsTest.MockSpanned


android.text

Class TextUtilsTest.MockSpanned

    • Constructor Detail

      • TextUtilsTest.MockSpanned

        protected TextUtilsTest.MockSpanned()
    • Method Detail

      • clear

        public void clear()
      • test

        public void test()
      • charAt

        public char charAt(int arg0)
        Description copied from interface: CharSequence
        Returns the character at the specified index, with the first character having index zero.
        Specified by:
        charAt in interface CharSequence
        Parameters:
        arg0 - the index of the character to return.
        Returns:
        the requested character.
      • length

        public int length()
        Description copied from interface: CharSequence
        Returns the number of characters in this sequence.
        Specified by:
        length in interface CharSequence
        Returns:
        the number of characters.
      • subSequence

        public CharSequence subSequence(int arg0,
                               int arg1)
        Description copied from interface: CharSequence
        Returns a CharSequence from the start index (inclusive) to the end index (exclusive) of this sequence.
        Specified by:
        subSequence in interface CharSequence
        Parameters:
        arg0 - the start offset of the sub-sequence. It is inclusive, that is, the index of the first character that is included in the sub-sequence.
        arg1 - the end offset of the sub-sequence. It is exclusive, that is, the index of the first character after those that are included in the sub-sequence
        Returns:
        the requested sub-sequence.
      • getSpans

        public <T> T[] getSpans(int start,
                       int end,
                       Class<T> type)
        Description copied from interface: Spanned
        Return an array of the markup objects attached to the specified slice of this CharSequence and whose type is the specified type or a subclass of it. Specify Object.class for the type if you want all the objects regardless of type.
        Specified by:
        getSpans in interface Spanned
      • getSpanStart

        public int getSpanStart(Object tag)
        Description copied from interface: Spanned
        Return the beginning of the range of text to which the specified markup object is attached, or -1 if the object is not attached.
        Specified by:
        getSpanStart in interface Spanned
      • getSpanEnd

        public int getSpanEnd(Object tag)
        Description copied from interface: Spanned
        Return the end of the range of text to which the specified markup object is attached, or -1 if the object is not attached.
        Specified by:
        getSpanEnd in interface Spanned
      • nextSpanTransition

        public int nextSpanTransition(int start,
                             int limit,
                             Class type)
        Description copied from interface: Spanned
        Return the first offset greater than or equal to start where a markup object of class type begins or ends, or limit if there are no starts or ends greater than or equal to start but less than limit. Specify null or Object.class for the type if you want every transition regardless of type.
        Specified by:
        nextSpanTransition in interface Spanned


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: 301 / 158870693. Delta: 0.03428 с