Network-UUID

UUID
A class to generate UUID
by John M McIntosh johnmci@smalltalkconsulting.com
See http://www.webdav.org/specs/draft-leach-uuids-guids-01.txt
If a plugin does not exist then we generate a UUID version 4 type GUUID
<
Answer whether the receiver is less than the argument.
<=
Answer whether the receiver is less than or equal to the argument.
>
Answer whether the receiver is greater than the argument.
>=
Answer whether the receiver is greater than or equal to the argument.
asString
Convert to a String with Characters for each byte.
Fast code uses primitive that avoids character conversion
asString36
Encode the UUID as a base 36 string using 0-9 and lowercase a-z.
This is the shortest representation still being able to work as
filenames etc since it does not depend on case nor characters
that might cause problems, and it fits into short filenames like on
the old MacOS HFS filesystem. The check for 36r is to make this code
work in versions before Squeak 3.8.
asUUID:
createStringStartingAt:for:
fromString36:
fromString:
initialize
Subclasses should redefine this method to perform initializations on instance creation
isNilUUID
new
nilUUID
primMakeUUID
printHexAt:to:
printOn:
Append a sequence of characters that identify the receiver to aStream.
printString
Answer a String whose characters are a description of the receiver.
If you want to print without a character limit, use fullPrintString.
UUIDGenerator
This class generates a pseudo-random UUID
by John M McIntosh johnmci@smalltalkconsulting.com
See http://www.webdav.org/specs/draft-leach-uuids-guids-01.txt
default
generateBytes:forVersion:
generateDefault
generateFieldsVersion4
generateOneOrZero
generateRandomBitsOfLength:
initialize
Subclasses should redefine this method to perform initializations on instance creation
makeSeed
Try various methods of getting good seeds
makeSeedFromSound
makeUnixSeed
placeFields:
randomCounter
randomCounter:
randomGenerator
randomGenerator:
semaphoreForGenerator
semaphoreForGenerator:
setupRandom
startUp