Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for quux (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              mapEntry("foo", 5),
              mapEntry("bar", 3),
              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, Integer>[] createArray(int length) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testGetFirst_withDefault_multiple() {
        Iterable<String> iterable = asList("foo", "bar");
        assertEquals("foo", Iterables.getFirst(iterable, "qux"));
      }
    
      public void testGetLast_list() {
        List<String> list = newArrayList("a", "b", "c");
        assertEquals("c", Iterables.getLast(list));
      }
    
      public void testGetLast_emptyList() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top