1.101 Magnitude
Defined in namespace Smalltalk
Superclass: Object
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 >.
1.101.1 Magnitude: basic
(instance)
1.101.2 Magnitude: misc methods
(instance)
1.101.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
1.101.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, 22 2008
using
texi2html