ShuffledIntegerListclassmisc.t[1387]

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[1393]

no description available

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

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

Methods  

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

construct with the given range

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

TADS 3 Library Manual
Generated on 7/19/2007 from TADS version 3.0.15.1