@Test
public void testLimit3() {

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