jpos.util
Interface Comparable

All Known Subinterfaces:
JposProperties.Prop
All Known Implementing Classes:
JposEntryComparable, DefaultComparableElement

public interface Comparable

Interface defining a comparable object

Version:
1.2.0 (JDK 1.1.x)
Author:
E. Michael Maximilien (maxim@us.ibm.com)

Method Summary
 int compareTo(java.lang.Object other)
          Compares this and other arguments for order
 boolean equals(java.lang.Object other)
          Indicates this object is "equal to" the other
 

Method Detail

compareTo

public int compareTo(java.lang.Object other)
Compares this and other arguments for order
Parameters:
other - object to compare to

equals

public boolean equals(java.lang.Object other)
Indicates this object is "equal to" the other
Overrides:
equals in class java.lang.Object
Parameters:
other - object to compare to


This API and code belongs to the JavaPOS committee please see LISCENCE file for details