ShuffledIntegerListclassmisc.t[1546]

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

no description available

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

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

Methods  

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

construct with the given range

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

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3