Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testSize2NonCollection (0.26 sec)

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

        assertEquals(0, FluentIterable.<String>of().size());
      }
    
      public void testSize1Collection() {
        assertEquals(1, FluentIterable.from(asList("a")).size());
      }
    
      public void testSize2NonCollection() {
        Iterable<Integer> iterable =
            new Iterable<Integer>() {
              @Override
              public Iterator<Integer> iterator() {
                return asList(0, 1).iterator();
              }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(0, Iterables.size(iterable));
      }
    
      public void testSize1Collection() {
        Iterable<String> iterable = singleton("a");
        assertEquals(1, Iterables.size(iterable));
      }
    
      public void testSize2NonCollection() {
        Iterable<Integer> iterable =
            new Iterable<Integer>() {
              @Override
              public Iterator<Integer> iterator() {
                return asList(0, 1).iterator();
              }
            };
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 45.6K bytes
    - Viewed (0)
Back to top