Back: LookupTable-storing Up: Base classes Forward: Magnitude-basic   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

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



Back: Magnitude-basic Up: Magnitude Forward: MappedCollection   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on May, 22 2008 using texi2html