equal
deleted
inserted
replaced
|
1 " |
|
2 COPYRIGHT (c) 2003 by Claus Gittinger |
|
3 All Rights Reserved |
|
4 |
|
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 |
|
7 inclusion of the above copyright notice. This software may not |
|
8 be provided or otherwise made available to, or used by, any |
|
9 other person. No title to or ownership of the software is |
|
10 hereby transferred. |
|
11 " |
1 "{ Package: 'stx:libbasic2' }" |
12 "{ Package: 'stx:libbasic2' }" |
2 |
13 |
3 "{ NameSpace: Smalltalk }" |
14 "{ NameSpace: Smalltalk }" |
4 |
15 |
5 ArrayedCollection variableSubclass:#LazyArray |
16 ArrayedCollection variableSubclass:#LazyArray |
15 poolDictionaries:'' |
26 poolDictionaries:'' |
16 privateIn:LazyArray |
27 privateIn:LazyArray |
17 ! |
28 ! |
18 |
29 |
19 !LazyArray class methodsFor:'documentation'! |
30 !LazyArray class methodsFor:'documentation'! |
|
31 |
|
32 copyright |
|
33 " |
|
34 COPYRIGHT (c) 2003 by Claus Gittinger |
|
35 All Rights Reserved |
|
36 |
|
37 This software is furnished under a license and may be used |
|
38 only in accordance with the terms of that license and with the |
|
39 inclusion of the above copyright notice. This software may not |
|
40 be provided or otherwise made available to, or used by, any |
|
41 other person. No title to or ownership of the software is |
|
42 hereby transferred. |
|
43 " |
|
44 ! |
20 |
45 |
21 documentation |
46 documentation |
22 " |
47 " |
23 An Array which computes its values lazily (on demand) and remembers them. |
48 An Array which computes its values lazily (on demand) and remembers them. |
24 Useful if it is relatively expensive to compute an element, |
49 Useful if it is relatively expensive to compute an element, |