package Examples; import Sequenic.T2.T2annotation.IntRange; public class SimpleRecursion { @IntRange(min = -5, max = 5) public boolean even(int x) { if (x < 0) return even(-x); if (x == 0) return true; else return odd(x - 1); } @IntRange(min = -5, max = 5) public boolean odd(int x) { if (x < 0) return odd(-x); if (x == 0) return false; else return even(x - 1); } }