JML

org.jmlspecs.samples.prelimdesign
Interface MoneyComparable

All Superinterfaces:
Cloneable, JMLType, Money, Serializable
All Known Subinterfaces:
MoneyOps
All Known Implementing Classes:
MoneyComparableAC, USMoney

public interface MoneyComparable
extends Money


Method Summary
 boolean greaterThan(Money m2)
           
 boolean greaterThanOrEqualTo(Money m2)
           
 boolean lessThan(Money m2)
           
 boolean lessThanOrEqualTo(Money m2)
           
 
Methods inherited from interface org.jmlspecs.samples.prelimdesign.Money
cents, clone, dollars, equals
 
Methods inherited from interface org.jmlspecs.models.JMLType
hashCode
 

Method Detail

greaterThan

public boolean greaterThan(Money m2)

greaterThanOrEqualTo

public boolean greaterThanOrEqualTo(Money m2)

lessThan

public boolean lessThan(Money m2)

lessThanOrEqualTo

public boolean lessThanOrEqualTo(Money m2)

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.