Class StringEntry

java.lang.Object
org.apache.maven.jxr.util.StringEntry

public final class StringEntry extends Object
A StringEntry represents a value found by the tokenizer. The index is where this StringEntry was found in the source string.
  • Field Details

    • value

      private final String value
    • index

      private final int index
  • Constructor Details

    • StringEntry

      public StringEntry(String value, int index)
      Constructor.
      Parameters:
      value - value
      index - index
  • Method Details

    • getIndex

      public int getIndex()
      Gets the index attribute of the StringEntry object.
      Returns:
      index
    • toString

      public String toString()
      Overrides:
      toString in class Object