ants.p2p.utils.indexer
Class FileSource

java.lang.Object
  extended by ants.p2p.utils.indexer.FileSource
All Implemented Interfaces:
java.lang.Comparable

public class FileSource
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
FileSource(int sources, long lastTimeSeen)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 long getLastTimeSeen()
           
 int getSourceNumber()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileSource

public FileSource(int sources,
                  long lastTimeSeen)
Method Detail

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

getSourceNumber

public int getSourceNumber()

getLastTimeSeen

public long getLastTimeSeen()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object