public class IndexEvents.Entry extends Object
In the first step, only in1, in2,in3 and tag are used. After the collections of the index entries, pagenumbers are used.
Constructor and Description |
---|
Entry(String aIn1,
String aIn2,
String aIn3,
String aTag)
Create a new object.
|
Modifier and Type | Method and Description |
---|---|
void |
addPageNumberAndTag(int number,
String tag)
Add a pagenumber.
|
String |
getIn1()
Returns the in1.
|
String |
getIn2()
Returns the in2.
|
String |
getIn3()
Returns the in3.
|
String |
getKey()
Returns the key for the map-entry.
|
int |
getPageNumber()
Returns the pagenumber for this entry.
|
List |
getPagenumbers()
Returns the pagenumbers.
|
String |
getTag()
Returns the tag.
|
List |
getTags()
Returns the tags.
|
String |
toString()
print the entry (only for test)
|
public String getIn1()
public String getIn2()
public String getIn3()
public String getTag()
public int getPageNumber()
public void addPageNumberAndTag(int number, String tag)
number
- The page number.tag
- public String getKey()
public List getPagenumbers()
public List getTags()
Copyright © 2020. All rights reserved.