Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testGetOnEmpty (0.05 seconds)

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

        }
      }
    
      private void testGetOnEmpty(Iterable<String> iterable) {
        try {
          Iterables.get(iterable, 0);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      public void testGet_list() {
        testGetOnAbc(newArrayList("a", "b", "c"));
      }
    
      public void testGet_emptyList() {
        testGetOnEmpty(Collections.<String>emptyList());
      }
    
    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