|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.common.distribute.indexserver.Index<I>
I
- The type of set, this is an index for.public class Index<I>
An immutable pair if an index and the set this is an index for.
Constructor Summary | |
---|---|
Index(java.io.File indexFile,
I indexSet)
Initialise the set. |
Method Summary | |
---|---|
java.io.File |
getIndexFile()
Get the index file. |
I |
getIndexSet()
Get the set this is an index for. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Index(java.io.File indexFile, I indexSet)
indexFile
- The index file.indexSet
- The set this is an index for. Can be null
TODO Should the indexSet be allowed to be null?
ArgumentNotValid
- if indexFile is null.Method Detail |
---|
public java.io.File getIndexFile()
public I getIndexSet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |