Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,519 for put (0.22 sec)

  1. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPut_supportedNotPresent() {
        assertNull("put(notPresent, value) should return null", put(e3()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/ParameterUtil.java

            map.put(ConfigName.CONFIG, configConfigMap);
            map.put(ConfigName.CLIENT, clientConfigMap);
            map.put(ConfigName.XPATH, xpathConfigMap);
            map.put(ConfigName.META, metaConfigMap);
            map.put(ConfigName.VALUE, valueConfigMap);
            map.put(ConfigName.SCRIPT, scriptConfigMap);
            map.put(ConfigName.FIELD, fieldConfigMap);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashingTest.java

              .put(Hashing.murmur3_128(), TQBFJOTLD, "6c1b07bc7bbc4be347939ac4a93c437a")
              .put(Hashing.murmur3_128(), TQBFJOTLDP, "c902e99e1f4899cde7b68789a3a15d69")
              .put(Hashing.murmur3_32(), EMPTY_STRING, "00000000")
              .put(Hashing.murmur3_32(), TQBFJOTLD, "23f74f2e")
              .put(Hashing.murmur3_32(), TQBFJOTLDP, "fc8bc4d5")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MultimapsTest.java

          @Nullable Integer nullValue) {
        multimap.clear();
        multimap.put("foo", 1);
        multimap.put("foo", 2);
        multimap.put("foo", 3);
        multimap.put("bar", 5);
        multimap.put("bar", -1);
        multimap.put(nullKey, nullValue);
        multimap.put("foo", nullValue);
        multimap.put(nullKey, 5);
        multimap.put("foo", 2);
    
        if (permitsDuplicates) {
          assertEquals(9, multimap.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        Table<Character, Integer, String> table = TreeBasedTable.create();
        table.put('x', 2, "foo");
        table.put('r', 1, "bar");
        table.put('c', 3, "baz");
        table.put('b', 7, "cat");
        table.put('e', 5, "dog");
        table.put('c', 0, "axe");
        table.put('e', 3, "tub");
        table.put('r', 4, "foo");
        table.put('x', 5, "bar");
        validateTableCopies(table);
      }
    
      public void testCopyOfDense() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPut_supportedNotPresent() {
        assertNull("put(notPresent, value) should return null", put(e3()));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              // primitives
              .put(Object.class, "")
              .put(Number.class, 0)
              .put(UnsignedInteger.class, UnsignedInteger.ZERO)
              .put(UnsignedLong.class, UnsignedLong.ZERO)
              .put(BigInteger.class, BigInteger.ZERO)
              .put(BigDecimal.class, BigDecimal.ZERO)
              .put(CharSequence.class, "")
              .put(String.class, "")
              .put(Pattern.class, Pattern.compile(""))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  9. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              // primitives
              .put(Object.class, "")
              .put(Number.class, 0)
              .put(UnsignedInteger.class, UnsignedInteger.ZERO)
              .put(UnsignedLong.class, UnsignedLong.ZERO)
              .put(BigInteger.class, BigInteger.ZERO)
              .put(BigDecimal.class, BigDecimal.ZERO)
              .put(CharSequence.class, "")
              .put(String.class, "")
              .put(Pattern.class, Pattern.compile(""))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

                .build();
    
        // Add more than two elements to increment size removals.
        cache.put(3, 20);
        cache.put(6, 2);
        cache.put(98, 45);
        cache.put(56, 76);
        cache.put(23, 84);
    
        // Replace the two present elements.
        cache.put(23, 20);
        cache.put(56, 49);
        cache.put(23, 2);
        cache.put(56, 4);
    
        // Expire the two present elements.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 15K bytes
    - Viewed (0)
Back to top