Interval.st
branchjv
changeset 21024 8734987eb5c7
parent 19478 1f5aa87f6170
parent 20695 9d2b822f6162
equal deleted inserted replaced
20729:5a09e2a164af 21024:8734987eb5c7
   217 hash
   217 hash
   218     ^ super hash "/ do not redefine: must generate same hash as SeqColl.
   218     ^ super hash "/ do not redefine: must generate same hash as SeqColl.
   219 ! !
   219 ! !
   220 
   220 
   221 !Interval methodsFor:'converting'!
   221 !Interval methodsFor:'converting'!
       
   222 
       
   223 asInterval
       
   224     ^ self.
       
   225 !
   222 
   226 
   223 fromLiteralArrayEncoding:encoding
   227 fromLiteralArrayEncoding:encoding
   224     "read my values from an encoding.
   228     "read my values from an encoding.
   225      The encoding is supposed to be either of the form: 
   229      The encoding is supposed to be either of the form: 
   226         (#Interval start stop step)
   230         (#Interval start stop step)