package source
- Alphabetic
- Public
- Protected
Type Members
- class MaxNumberSource extends NumberSource
A
NumberSourceis considered a master "pool" of numbers from which all numbers are available to be drawn.A
NumberSourceis considered a master "pool" of numbers from which all numbers are available to be drawn. Produce a series of numbers from 0 to a maximum number (inclusive) to be used as globally unique identifiers (GUID's).- Exceptions thrown
IllegalArgumentExceptionifmaxis less than zero (therefore the count of generated numbers is at most zero)
- trait NumberSource extends AnyRef
A
NumberSourceis considered a master "pool" of numbers from which all numbers are available to be drawn.A
NumberSourceis considered a master "pool" of numbers from which all numbers are available to be drawn. The numbers are considered to be exclusive.
The following are guidelines for implementing classes. The numbers allocated to this source are from zero up through positive integers. When a number is drawn from the pool, it is flagged internally and can not be selected for drawing again until the flag is removed. Some flagging states are allowed to restrict that number for the whole lifespan of the source. This internal flagging is maintained by a "monitor" that should not directly get exposed. Use the provided indirect referencing containers -SecureKeyandLoanedKey.
The purpose of aNumberSourceis to help facilitate globally unique identifiers (GUID, pl. GUIDs). - class SpecificNumberSource extends NumberSource
A
NumberSourceis considered a master "pool" of numbers from which all numbers are available to be drawn.A
NumberSourceis considered a master "pool" of numbers from which all numbers are available to be drawn. Produce a series of numbers from 0 to a maximum number (inclusive) to be used as globally unique identifiers (GUID's).- Exceptions thrown
IllegalArgumentExceptionif any of the numbers provided are negative
Value Members
- object MaxNumberSource
- object SpecificNumberSource