ShuffledIntegerListclassmisc.t[1355]

A Shuffled Integer List is a special kind of Shuffled List that returns integers in a given range. Like an ordinary Shuffled List, we'll return integers in the given range in random order, but we'll only return each integer once during a given round; when we exhaust the supply, we'll reshuffle the set of integers and start over.

class ShuffledIntegerList :   ShuffledList

Superclass Tree   (in declaration order)

ShuffledIntegerList
       
ShuffledList
                object

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

rangeMax  rangeMin  valueList 

Inherited from ShuffledList :
suppressRepeats  valuesAvail  valuesVec 

Summary of Methods  

construct  getNextValue 

Inherited from ShuffledList :
reshuffle 

Properties  

rangeMaxmisc.t[1361]

no description available

rangeMinmisc.t[1360]
The minimum and maximum values for our range. Instances should define these to the range desired.

valueListOVERRIDDENmisc.t[1364]
initialize the value list on demand

Methods  

construct (rmin, rmax)OVERRIDDENmisc.t[1367]

construct with the given range

getNextValue ( )OVERRIDDENmisc.t[1374]
get the next value

TADS 3 Library Manual
Generated on 9/8/2006 from TADS version 3.0.11