@Test
public void testLimit4() {

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