Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ListSupplier (0.08 sec)

  1. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(Integer.valueOf(5), squareSupplier.get());
      }
    
      public void testComposeWithLists() {
        Supplier<ArrayList<Integer>> listSupplier =
            new Supplier<ArrayList<Integer>>() {
              @Override
              public ArrayList<Integer> get() {
                return Lists.newArrayList(0);
              }
            };
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(Integer.valueOf(5), squareSupplier.get());
      }
    
      public void testComposeWithLists() {
        Supplier<ArrayList<Integer>> listSupplier =
            new Supplier<ArrayList<Integer>>() {
              @Override
              public ArrayList<Integer> get() {
                return Lists.newArrayList(0);
              }
            };
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertTrue(multimap.get(Color.BLUE) instanceof NavigableSet);
      }
    
      public void testNewMultimapValueCollectionMatchesList() {
        Supplier<LinkedList<Integer>> factory = new ListSupplier();
        Map<Color, Collection<Integer>> map = Maps.newEnumMap(Color.class);
        Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory);
        assertTrue(multimap.get(Color.BLUE) instanceof List);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top