org.apache.maven.jxr.util
Class StringEntry

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

public class StringEntry
extends Object
implements 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(String value, int index)
          Constructor for the StringEntry object
 
Method Summary
 int compareTo(Object obj)
          Compare two objects for equality.
 int getIndex()
          Gets the index attribute of the StringEntry object
 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(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 String toString()
Description of the Method

Overrides:
toString in class Object

compareTo

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

Specified by:
compareTo in interface Comparable


Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.