Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFilterByType_forEach (0.22 sec)

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

        Iterable<TypeB> blist = Iterables.filter(alist, TypeB.class);
        assertThat(blist).containsExactly(hasBoth).inOrder();
      }
    
      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType_forEach() throws Exception {
        HasBoth hasBoth1 = new HasBoth();
        HasBoth hasBoth2 = new HasBoth();
        Iterable<TypeA> alist = Lists.newArrayList(hasBoth1, new TypeA(), hasBoth2, new TypeA());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
Back to top