org.apache.maven.jxr.util
Class StringEntry

java.lang.Object
  extended byorg.apache.maven.jxr.util.StringEntry
All Implemented Interfaces:
java.lang.Comparable

public class StringEntry
extends java.lang.Object
implements java.lang.Comparable

A StringEntry represents a value found by the tokenizer. The index is where this StringEntry was found in the source string


Constructor Summary
StringEntry(java.lang.String value, int index)
          Constructor for the StringEntry object
 
Method Summary
 int compareTo(java.lang.Object obj)
          Compare two objects for equality.
 int getIndex()
          Gets the index attribute of the StringEntry object
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringEntry

public StringEntry(java.lang.String value,
                   int index)
Constructor for the StringEntry object

Parameters:
value -
index -
Method Detail

getIndex

public int getIndex()
Gets the index attribute of the StringEntry object


toString

public java.lang.String toString()
Description of the Method


compareTo

public int compareTo(java.lang.Object obj)
Compare two objects for equality.

Specified by:
compareTo in interface java.lang.Comparable


Copyright © {inceptionYear}-2006 Apache Software Foundation. All Rights Reserved.