I'm interested in calculating permutations for parameters for something like this:
public class Movie() {
@Selection(minimum=1,maximum=10)
public Integer setLength() {}
@Selection(minimum=1.1,maximum=5.5)
public Double setCost() {}
}
So I can write something like List getPermutations(); so that I could get a list of every movie possible. I'm interested in supporting multiple data types.
Can anyone point me in the correct direction to take on building the annotation and List getPermutations() method?