Squeak Class Documentation category index | class index  
 
Magnitude
  category: Kernel-Magnitudes
  superclass: Object
  subclasses: Number Character LookupKey Time Date MessageTally

I am an abstract representation of objects that measure something linear. Examples are dates, times, and numbers.

instance methods
  comparing
  <
<=
=
>
>=
between:and:
hash
hashMappedBy:

  testing
  max:
min:
min:max:

class methods
  no messages
 

instance methods
  comparing top  
 

<

Answer whether the receiver is less than the argument.


 

<=

Answer whether the receiver is less than or equal to the argument.


 

=

Compare the receiver with the argument and answer with true if the
receiver is equal to the argument. Otherwise answer false.


 

>

Answer whether the receiver is greater than the argument.


 

>=

Answer whether the receiver is greater than or equal to the argument.


 

between:and:

Answer whether the receiver is less than or equal to the argument, max,
and greater than or equal to the argument, min.


 

hash

Hash must be redefined whenever = is redefined.


 

hashMappedBy:

My hash is independent of my oop.


  testing top  
 

max:

Answer the receiver or the argument, whichever has the greater
magnitude.


 

min:

Answer the receiver or the argument, whichever has the lesser
magnitude.


 

min:max:


class methods
  no messages top