Class IndexedString

  • All Implemented Interfaces:
    java.io.Serializable, ITuple<java.lang.Integer,​java.lang.String>

    public class IndexedString
    extends Tuple<java.lang.Integer,​java.lang.String>
    A Tuple of Integer and String, is typically used to associate a string with a file line number within the Sherlock API and Engine
    See Also:
    Serialized Form
    • Constructor Detail

      • IndexedString

        public IndexedString​(int index,
                             java.lang.String string)
    • Method Detail

      • of

        public static IndexedString of​(int index,
                                       java.lang.String string)
        Static constructor method
        Parameters:
        index - the index value
        string - the string
        Returns:
        new instance of IndexedString