com.limegroup.gnutella.gui.connection
Class MessagesHolder

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

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

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


Constructor Summary
MessagesHolder(int r, int s)
          Constructor
 
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

MessagesHolder

public MessagesHolder(int r,
                      int s)
Constructor

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