Class AutocompletePrediction.Term

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    AutocompletePrediction

    public static class AutocompletePrediction.Term
    extends java.lang.Object
    implements java.io.Serializable
    Identifies each section of the returned description. (A section of the description is generally terminated with a comma.)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int offset
      The start position of this term in the description, measured in Unicode characters.
      java.lang.String value
      The text of the matched term.
    • Constructor Summary

      Constructors 
      Constructor Description
      Term()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • offset

        public int offset
        The start position of this term in the description, measured in Unicode characters.
      • value

        public java.lang.String value
        The text of the matched term.
    • Constructor Detail

      • Term

        public Term()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object