- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for HasBoth (0.23 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0)