generateNybbleTupleFrom

fun generateNybbleTupleFrom(size: Int, generator: (Int) -> Int): AvailObject

Create an object of the appropriate size, whose descriptor is an instance of NybbleTupleDescriptor. Run the generator for each position in ascending order to produce the nybbles with which to populate the tuple.

Return

The new tuple of nybbles.

Parameters

size

The size of nybble tuple to create.

generator

A generator to provide nybbles to store.