com.limegroup.gnutella.gui.connection
Class BandwidthHolder

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

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

Wrapper class that acts as a comparable for the bandwidth i/o info.


Constructor Summary
BandwidthHolder(float d, float u)
          The constructor sets d / u
 
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

BandwidthHolder

public BandwidthHolder(float d,
                       float u)
The constructor sets d / u

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