3536373839404142434445
assertEquals(0, t1.compareTo(t2)); t2 = new BSONTimestamp(currTime, 2); assertTrue(t1.compareTo(t2) < 0); assertTrue(t2.compareTo(t1) > 0); t2 = new BSONTimestamp(currTime + 1, 1); assertTrue(t1.compareTo(t2) < 0); assertTrue(t2.compareTo(t1) > 0);
4041424344454647
assertTrue(t2.compareTo(t1) > 0); t2 = new BSONTimestamp(currTime + 1, 1); assertTrue(t1.compareTo(t2) < 0); assertTrue(t2.compareTo(t1) > 0); } }