Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for PUT (0.12 sec)

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

        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 1);
        toPut.put("bar", 5);
        Multimap<String, Integer> moreToPut = LinkedListMultimap.create();
        moreToPut.put("foo", 6);
        moreToPut.put("bar", 4);
        moreToPut.put("foo", 7);
        moreToPut.put("foo", 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 3);
        Multimap<String, Integer> moreToPut = LinkedListMultimap.create();
        moreToPut.put("foo", 6);
        moreToPut.put("bar", 5);
        moreToPut.put("foo", 7);
        ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

            new ImmutableMap.Builder<>()
                .put(Range.closedOpen(-6, -4), 0)
                .put(Range.closedOpen(0, 1), 1) // not coalesced
                .put(Range.closedOpen(1, 5), 1)
                .put(Range.closedOpen(7, 9), 2)
                .put(Range.closedOpen(9, 14), 0)
                .put(Range.closedOpen(14, 15), 2)
                .put(Range.closedOpen(17, 20), 3)
                .put(Range.closedOpen(22, 25), 4)
                .build(),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 28K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

            ImmutableSortedMap.<String, Integer>naturalOrder().put("one", 1).build();
        assertMapEquals(map, "one", 1);
      }
    
      public void testBuilder() {
        ImmutableSortedMap<String, Integer> map =
            ImmutableSortedMap.<String, Integer>naturalOrder()
                .put("one", 1)
                .put("two", 2)
                .put("three", 3)
                .put("four", 4)
                .put("five", 5)
                .build();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        for (String row : elements) {
          table.put(row, 1, 'a');
          table.put(row, 2, 'b');
        }
      }
    
      private static void populateForColumnKeySet(
          Table<Integer, String, Character> table, String[] elements) {
        for (String column : elements) {
          table.put(1, column, 'a');
          table.put(2, column, 'b');
        }
      }
    
      private static void populateForValues(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

                        TreeBasedTable<String, String, String> table = TreeBasedTable.create();
                        table.put("a", "b", "c");
                        table.put("c", "b", "a");
                        table.put("a", "a", "d");
                        for (Entry<String, String> entry : entries) {
                          table.put("b", entry.getKey(), entry.getValue());
                        }
                        return table.row("b");
                      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

          K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) {
        ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder();
        builder.put(k1, v1);
        builder.put(k2, v2);
        builder.put(k3, v3);
        builder.put(k4, v4);
        builder.put(k5, v5);
        return builder.build();
      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /** Returns a new {@link Builder}. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        NavigableMap<String, String> map = new SafeTreeMap<>();
                        putEntries(map, entries);
                        map.put("banana", "toast");
                        map.put("eggplant", "spam");
                        return Maps.filterKeys(map, FILTER_KEYS);
                      }
                    })
                .named("Maps.filterKeys[NavigableMap, Predicate]")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

            localCache.put(key, newValue);
            return newValue;
          } catch (Exception e) {
            throw new ExecutionException(e);
          }
        }
    
        @Override
        public @Nullable V getIfPresent(Object key) {
          return localCache.getIfPresent(key);
        }
    
        @Override
        public void put(K key, V value) {
          localCache.put(key, value);
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/Utf8Test.java

        HashMap<Integer, Integer> utf8Lengths = new HashMap<>();
        utf8Lengths.put(0x00, 1);
        utf8Lengths.put(0x7f, 1);
        utf8Lengths.put(0x80, 2);
        utf8Lengths.put(0x7ff, 2);
        utf8Lengths.put(0x800, 3);
        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT - 1, 3);
        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT, 4);
        utf8Lengths.put(MAX_CODE_POINT, 4);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top