ProtoObjectObjectCollectionSequenceableCollectionArrayedCollectionByteArrayWAExternalID
| Generator | GeneratorMutex |
| instance | class |
|---|---|
| private | as yet unclassified class initialization |
| Generator |
|---|
|
|
| GeneratorMutex |
|---|
|
|
| private |
|---|
| initialize |
GeneratorMutex critical: [1 to: self size do: [:i | self at: i put: ((($a to: $z), ($A to: $Z)) atRandom: Generator) asInteger]] |
| printOn: stream |
self do: [:i | stream nextPut: (Character value: i)] |
| as yet unclassified |
|---|
| defaultSize |
^ 8 |
| fromString: aString |
| id | id _ super new: aString size. aString withIndexDo: [:ea :i | id at: i put: ea asInteger]. ^ id |
| new |
^ self new: self defaultSize |
| new: aNumber |
^ (super new: aNumber) initialize |
| class initialization |
|---|
| initialize |
"WAExternalID initialize" GeneratorMutex _ Semaphore forMutualExclusion. Generator _ Random new. |