package jrummikub.ai.fdsolver; import java.util.Collection; import java.util.HashSet; import java.util.Set; public class Var { Set range; public Var(Solver solver, Collection range) { this.range = new HashSet(range); } public static Var range(Solver solver, T low, T high) { // TODO todo todo todo return null; } public T getValue() { if (range.size() != 1) return null; return range.iterator().next(); } }