This repository has been archived on 2021-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
|
package Main
|
|
import Randominator.Randominator
|
|
|
|
/**
|
|
* Created by claudio on 26/12/16.
|
|
*/
|
|
object Main {
|
|
def main(argv: Array[String]): Unit = {
|
|
val r = new Randominator[Int](List(1,2,3,4,5,6))
|
|
val s: Randominator[Any] = r
|
|
println(s.getRandom)
|
|
}
|
|
}
|