### Question:
IntIndex implements Index { public Selection get(int value) { Selection selection = new BitmapBackedSelection(); IntArrayList list = index.get(value); if (list != null) { addAllToSelection(list, selection); } return selection; } IntIndex(DateColumn column);  IntIndex(IntColumn column);  IntIndex(TimeColumn column); Selection get(int value); Selection get(LocalTime value); Selection get(LocalDate value); Selection atLeast(int value); Selection atLeast(LocalTime value); Selection atLeast(LocalDate value); Selection greaterThan(int value); Selection greaterThan(LocalTime value); Selection greaterThan(LocalDate value); Selection atMost(int value); Selection atMost(LocalTime value); Selection atMost(LocalDate value); Selection lessThan(int value); Selection lessThan(LocalTime value); Selection lessThan(LocalDate value);  }### Answer:
@Test public void testGet() { Selection fromCol = table.numberColumn("approval").eval(NumberPredicates.isEqualTo(71)); Selection fromIdx = index.get(71); assertEquals(fromCol, fromIdx); }
@Test public void testGet2() { LocalDate date = LocalDate.of(2001, 12, 12); int packedDate = PackedLocalDate.pack(date); Selection fromCol = table.dateColumn("date").eval(DateAndTimePredicates.isEqualTo, packedDate); Selection fromIdx = dateIndex.get(packedDate); Selection fromIdx1 = dateIndex.get(date); assertEquals(fromCol, fromIdx); assertEquals(fromCol, fromIdx1); }