Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for foods (0.2 sec)

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

        }
      }
    
      public void testLinkedGetAdd() {
        LinkedListMultimap<String, Integer> map = create();
        map.put("bar", 1);
        Collection<Integer> foos = map.get("foo");
        foos.add(2);
        foos.add(3);
        map.put("bar", 4);
        map.put("foo", 5);
        assertEquals("{bar=[1, 4], foo=[2, 3, 5]}", map.toString());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/EventBusTest.java

              @Subscribe
              public void eat(Object food) {
                objectEvents.add(food);
              }
            };
    
        final List<Comparable<?>> compEvents = Lists.newArrayList();
        Object compCatcher =
            new Object() {
              @SuppressWarnings("unused")
              @Subscribe
              public void eat(Comparable<?> food) {
                compEvents.add(food);
              }
            };
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

              @Subscribe
              public void eat(Object food) {
                objectEvents.add(food);
              }
            };
    
        final List<Comparable<?>> compEvents = Lists.newArrayList();
        Object compCatcher =
            new Object() {
              @SuppressWarnings("unused")
              @Subscribe
              public void eat(Comparable<?> food) {
                compEvents.add(food);
              }
            };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Throwables.java

    @ElementTypesAreNonnullByDefault
    public final class Throwables {
      private Throwables() {}
    
      /**
       * Throws {@code throwable} if it is an instance of {@code declaredType}. Example usage:
       *
       * <pre>
       * for (Foo foo : foos) {
       *   try {
       *     foo.bar();
       *   } catch (BarException | RuntimeException | Error t) {
       *     failure = t;
       *   }
       * }
       * if (failure != null) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

    @ElementTypesAreNonnullByDefault
    public final class Throwables {
      private Throwables() {}
    
      /**
       * Throws {@code throwable} if it is an instance of {@code declaredType}. Example usage:
       *
       * <pre>
       * for (Foo foo : foos) {
       *   try {
       *     foo.bar();
       *   } catch (BarException | RuntimeException | Error t) {
       *     failure = t;
       *   }
       * }
       * if (failure != null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        }
      }
    
      public void testLinkedGetAdd() {
        LinkedListMultimap<String, Integer> map = create();
        map.put("bar", 1);
        Collection<Integer> foos = map.get("foo");
        foos.add(2);
        foos.add(3);
        map.put("bar", 4);
        map.put("foo", 5);
        assertEquals("{bar=[1, 4], foo=[2, 3, 5]}", map.toString());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 18K bytes
    - Viewed (0)
Back to top