Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testSkip_iterator (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        Collection<String> list = Lists.newArrayList("a", "b");
        assertEquals(
            Lists.newArrayList("a", "b"), Lists.newArrayList(FluentIterable.from(list).skip(0)));
      }
    
      public void testSkip_iterator() throws Exception {
        new IteratorTester<Integer>(
            5,
            IteratorFeature.MODIFIABLE,
            Lists.newArrayList(2, 3),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterator<String> iterator = skip(list, 2).iterator();
        assertThrows(UnsupportedOperationException.class, () -> iterator.remove());
      }
    
      @GwtIncompatible // slow (~35s)
      public void testSkip_iterator() {
        new IteratorTester<Integer>(
            5, MODIFIABLE, newArrayList(2, 3), IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<Integer> newTargetIterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top