public class StringEntry extends Object implements Comparable<StringEntry>
| Constructor and Description |
|---|
StringEntry(String value,
int index)
Constructor for the StringEntry object
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(StringEntry se)
Compare two objects for equality.
|
int |
getIndex()
Gets the index attribute of the StringEntry object
|
String |
toString()
Description of the Method
|
public StringEntry(String value, int index)
value - index - public int getIndex()
public int compareTo(StringEntry se)
compareTo in interface Comparable<StringEntry>Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.