@Test
public void testLimit2() {

  ArrayDeque<Integer> collect = java.util.Arrays.asList(1, 2, 3, 4, 5).stream().collect(XCollectors.last(10));
  Assert.assertThat(collect, Matchers.contains(1, 2, 3, 4, 5));
  Assert.assertEquals(5, collect.size());
}