Socialmetrica/Socialmetrica.package/Tweet.class/instance/belongsToSegment..st

8 lines
238 B
Smalltalk
Raw Permalink Normal View History

2022-04-15 05:05:17 +00:00
accessing
belongsToSegment: segmentBodersCollection
segmentBodersCollection allButLast keysAndValuesDo: [ :i :elem |
(elem < self created and: [ self created <= (segmentBodersCollection at: i + 1) ])
ifTrue: [ ^ i ]
].
^ false