com.limegroup.gnutella.gui.connection
Class HostsHolder

java.lang.Object
  extended bycom.limegroup.gnutella.gui.connection.HostsHolder
All Implemented Interfaces:
java.lang.Comparable

public final class HostsHolder
extends java.lang.Object
implements java.lang.Comparable

Wrapper class that acts as a comparable for the hosts info.


Constructor Summary
HostsHolder(long hosts)
          The constructor sets # hosts
 
Method Summary
 int compareTo(java.lang.Object o)
          Add up the two things and see which is larger.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostsHolder

public HostsHolder(long hosts)
The constructor sets # hosts

Method Detail

compareTo

public int compareTo(java.lang.Object o)
Add up the two things and see which is larger.

Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()
Returns:
the formatted string