public class StringEntry extends Object implements Comparable
Constructor and Description |
---|
StringEntry(String value,
int index)
Constructor for the StringEntry object
|
Modifier and Type | Method and Description |
---|---|
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
|
public StringEntry(String value, int index)
value
- index
- public int getIndex()
public int compareTo(Object obj)
compareTo
in interface Comparable
Copyright © 2002-2019 The Apache Software Foundation. All Rights Reserved.