org.apache.maven.jxr.util

Class StringEntry

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
intcompareTo(Object obj)
Compare two objects for equality.
intgetIndex()
Gets the index attribute of the StringEntry object
StringtoString()
Description of the Method

Constructor Detail

StringEntry

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

Parameters: value index

Method Detail

compareTo

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

getIndex

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

toString

public String toString()
Description of the Method
Copyright © {inceptionYear}-2008 Apache Software Foundation. All Rights Reserved.