|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodelling.fiti.data.Item
public class Item
Class implementing an item. An item has either a filt index or a term list index. The type provides what kind of index is used.
Field Summary | |
---|---|
static int |
FILT_INDEX
|
protected int |
index
|
static int |
TERMLIST_INDEX
|
protected int |
type
|
Constructor Summary | |
---|---|
Item(int index,
int indexType)
Constructor creating a new item. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Method for getting a clone of this instance. |
boolean |
equals(java.lang.Object o)
Method for testing wether this instance is equal to another. |
int |
getIndex()
Method for getting the index. |
int |
getIndexType()
Method for getting the index type. |
java.lang.String |
toString()
Method returning a printable representation of the item. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int TERMLIST_INDEX
public static int FILT_INDEX
protected int index
protected int type
Constructor Detail |
---|
public Item(int index, int indexType)
index
- Filt of TermList indexindexType
- Index typeMethod Detail |
---|
public int getIndex()
public int getIndexType()
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |