类 AutocompletePrediction.MatchedSubstring

java.lang.Object
ai.nextbillion.maps.model.AutocompletePrediction.MatchedSubstring
所有已实现的接口:
java.io.Serializable
封闭类:
AutocompletePrediction

public static class AutocompletePrediction.MatchedSubstring
extends java.lang.Object
implements java.io.Serializable
Describes the location of the entered term in the prediction result text, so that the term can be highlighted if desired.
另请参阅:
序列化表格
  • 字段概要

    字段 
    修饰符和类型 字段 说明
    int length
    The length of the matched substring, measured in Unicode characters.
    int offset
    The start position of the matched substring, measured in Unicode characters.
  • 构造器概要

    构造器 
    构造器 说明
    MatchedSubstring()  
  • 方法概要

    修饰符和类型 方法 说明
    java.lang.String toString()  

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 字段详细资料

    • length

      public int length
      The length of the matched substring, measured in Unicode characters.
    • offset

      public int offset
      The start position of the matched substring, measured in Unicode characters.
  • 构造器详细资料

  • 方法详细资料

    • toString

      public java.lang.String toString()
      覆盖:
      toString 在类中 java.lang.Object