Package org.klomp.snark.web
Class Sorters.FileAndIndex
java.lang.Object
org.klomp.snark.web.Sorters.FileAndIndex
- Enclosing class:
- Sorters
public static class Sorters.FileAndIndex extends Object
Class to precompute and efficiently sort data
on a torrent file entry.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FileAndIndex(File file, Storage storage, long[] remainingArray)
FileAndIndex(File file, Storage storage, long[] remainingArray, long[] previewArray)
-
Method Summary
-
Field Details
-
Constructor Details
-
FileAndIndex
- Parameters:
storage
- may be nullremainingArray
- precomputed, non-null iff storage is non-null
-
FileAndIndex
- Parameters:
storage
- may be nullremainingArray
- precomputed, non-null iff storage is non-null
-