Class Index<I>
- java.lang.Object
-
- dk.netarkivet.common.distribute.indexserver.Index<I>
-
- Type Parameters:
I
- The type of set, this is an index for.
public class Index<I> extends Object
An immutable pair if an index and the set this is an index for.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getIndexFile()
Get the index file.I
getIndexSet()
Get the set this is an index for.
-
-
-
Constructor Detail
-
Index
public Index(File indexFile, I indexSet)
Initialise the set.- Parameters:
indexFile
- The index file.indexSet
- The set this is an index for. Can be null TODO Should the indexSet be allowed to be null?- Throws:
ArgumentNotValid
- if indexFile is null.
-
-