Package it.unimi.di.prog2.h15


package it.unimi.di.prog2.h15
Codice relativo alla lezione 15 per maggiori dettagli si veda il diario del corso.

In this package there are several variants of a DecimalDigits, a class that can be used to compute the digits of the decimal expansion of a given number.

All the variants are endowed in addition with an iterator (that is a method that returns a generator in Lisokv's parlance) on non zero digits; the variants correspond to various possibilities with regard to the implementation style of the generator:

Such variants are listed in increasing order of preferableness (and implementation complexity).