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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
public final File file
isDirectory
public final boolean isDirectory
length
public final long length
remaining
public final long remaining
priority
public final int priority
index
public final int index
Sorters.FileAndIndex
public Sorters.FileAndIndex(File file,
Storage storage)
- Parameters:
storage
- may be null