void () { JBIterable<Integer> it = JBIterable.of(1, 2, 3, 4); assertEquals((Integer)4, it.get(3)); assertNull(it.get(4)); assertNull(it.get(5)); JBIterable<Integer> it2 = JBIterable.generate(1, INCREMENT).take(4); assertEquals((Integer)4, it2.get(3)); assertNull(it2.get(4)); assertNull(it2.get(5)); }