Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testAnyMatch (0.41 sec)

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

            FluentIterable.from(asList(new TypeA(), new TypeA(), hasBoth, new TypeA()));
        Iterable<TypeB> blist = alist.filter(TypeB.class);
        assertThat(blist).containsExactly(hasBoth).inOrder();
      }
    
      public void testAnyMatch() {
        ArrayList<String> list = Lists.newArrayList();
        FluentIterable<String> iterable = FluentIterable.<String>from(list);
        Predicate<String> predicate = Predicates.equalTo("pants");
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

            FluentIterable.from(asList(new TypeA(), new TypeA(), hasBoth, new TypeA()));
        Iterable<TypeB> blist = alist.filter(TypeB.class);
        assertThat(blist).containsExactly(hasBoth).inOrder();
      }
    
      public void testAnyMatch() {
        ArrayList<String> list = Lists.newArrayList();
        FluentIterable<String> iterable = FluentIterable.<String>from(list);
        Predicate<String> predicate = Predicates.equalTo("pants");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
Back to top