equal
deleted
inserted
replaced
1 " |
1 " |
2 COPYRIGHT (c) 1989-93 by Claus Gittinger |
2 COPYRIGHT (c) 1989 by Claus Gittinger |
3 All Rights Reserved |
3 All Rights Reserved |
4 |
4 |
5 This software is furnished under a license and may be used |
5 This software is furnished under a license and may be used |
6 only in accordance with the terms of that license and with the |
6 only in accordance with the terms of that license and with the |
7 inclusion of the above copyright notice. This software may not |
7 inclusion of the above copyright notice. This software may not |
17 category:'Collections-Sequenceable' |
17 category:'Collections-Sequenceable' |
18 ! |
18 ! |
19 |
19 |
20 Interval comment:' |
20 Interval comment:' |
21 |
21 |
22 COPYRIGHT (c) 1989-93 by Claus Gittinger |
22 COPYRIGHT (c) 1989 by Claus Gittinger |
23 All Rights Reserved |
23 All Rights Reserved |
24 |
24 |
25 Intervals represent a collection (or range) of numeric values specified by |
25 Intervals represent a collection (or range) of numeric values specified by |
26 a startValue, an endValue and a step. The elements are computed, not stored. |
26 a startValue, an endValue and a step. The elements are computed, not stored. |
27 For example, the interval (1 to:5) containes the elements (1 2 3 4 5) and |
27 For example, the interval (1 to:5) containes the elements (1 2 3 4 5) and |
28 (1 to:6 by:2) contains (1 3 5). |
28 (1 to:6 by:2) contains (1 3 5). |
29 |
29 |
30 $Header: /cvs/stx/stx/libbasic/Interval.st,v 1.3 1993-10-13 00:16:17 claus Exp $ |
30 $Header: /cvs/stx/stx/libbasic/Interval.st,v 1.4 1993-10-13 02:12:25 claus Exp $ |
31 |
31 |
32 written summer 89 by claus |
32 written summer 89 by claus |
33 '! |
33 '! |
34 |
34 |
35 !Interval class methodsFor:'instance creation'! |
35 !Interval class methodsFor:'instance creation'! |