Back: LookupTable-storing
Up: Class reference
Forward: Magnitude-basic
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

6.91 Magnitude

Defined in namespace Smalltalk
Category: Language-Data types
I am an abstract class. My objects represent things that are discrete and map to a number line. My instances can be compared with < and >.

6.91.1 Magnitude: basic  (instance)
6.91.2 Magnitude: misc methods  (instance)


6.91.1 Magnitude: basic

< aMagnitude
Answer whether the receiver is less than aMagnitude

<= aMagnitude
Answer whether the receiver is less than or equal to aMagnitude

= aMagnitude
Answer whether the receiver is equal to aMagnitude

> aMagnitude
Answer whether the receiver is greater than aMagnitude

>= aMagnitude
Answer whether the receiver is greater than or equal to aMagnitude


6.91.2 Magnitude: misc methods

between: min and: max
Returns true if object is inclusively between min and max.

max: aMagnitude
Returns the greatest object between the receiver and aMagnitude

min: aMagnitude
Returns the least object between the receiver and aMagnitude




This document was generated on May, 12 2002 using texi2html