Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Magnitude
Last updated at 4:49 pm UTC on 16 January 2006
Magnitude has methods for dealing with linearly ordered collections.

Subclasses represent dates, times, and numbers.

Example for interval-testing (answers a Boolean):
7 between: 5 and: 10

No instance-variables.

 ProtoObject #()
 	Object #()
 
 		Magnitude #()
 			Character #('value')
 			Date #('julianDayNumber')
 				Month #()
 				Week #()
 			LookupKey #('key')
 				Association #('value')
 					DeltaAssociation #('deactivatedValue')
 					WeakKeyAssociation #()
 				ReadOnlyVariableBinding #('value')
 				WeakValueAssociation #()
 			MessageTally #('class' 'method' 'tally' 'receivers' 'senders' 'time' 'gcStats')
 			Number #()
 				Float #()
 				Fraction #('numerator' 'denominator')
 				Integer #()
 					LargePositiveInteger #()
 						LargeNegativeInteger #()
 					SmallInteger #()
 			Time #('seconds')