Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for HasBoth (0.06 seconds)

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

      private interface TypeB {}
    
      private static class HasBoth extends TypeA implements TypeB {}
    
      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType() throws Exception {
        HasBoth hasBoth = new HasBoth();
        FluentIterable<TypeA> alist =
            FluentIterable.from(asList(new TypeA(), new TypeA(), hasBoth, new TypeA()));
        Iterable<TypeB> blist = alist.filter(TypeB.class);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      private interface TypeB {}
    
      private static class HasBoth extends TypeA implements TypeB {}
    
      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType_iterator() throws Exception {
        HasBoth hasBoth = new HasBoth();
        Iterable<TypeA> alist = Lists.newArrayList(new TypeA(), new TypeA(), hasBoth, new TypeA());
        Iterable<TypeB> blist = filter(alist, TypeB.class);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 45.6K bytes
    - Click Count (0)
Back to Top