Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 277 for setKey (0.03 sec)

  1. guava/src/com/google/common/collect/StandardTable.java

          while (true) {
            if (entryIterator.hasNext()) {
              Entry<C, V> entry = entryIterator.next();
              if (!seen.containsKey(entry.getKey())) {
                seen.put(entry.getKey(), entry.getValue());
                return entry.getKey();
              }
            } else if (mapIterator.hasNext()) {
              entryIterator = mapIterator.next().entrySet().iterator();
            } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        assertThrows(IllegalArgumentException.class, () -> subMap.put(firstEntry.getKey(), value));
      }
    
      public void testTailMapRemoveThrough() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        assertThrows(IllegalArgumentException.class, () -> subMap.put(firstEntry.getKey(), value));
      }
    
      public void testTailMapRemoveThrough() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

            public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) {
              return left.getKey().compareTo(right.getKey());
            }
          }.sortedCopy(insertionOrder);
        }
      }
    
      public static class ImmutableMapValuesAsSingletonSetGenerator
          implements TestMapGenerator<String, Collection<Integer>> {
    
        @Override
        public SampleElements<Entry<String, Collection<Integer>>> samples() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

          Gist gist = gistJsonAdapter.fromJson(response.body().source());
    
          for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
            System.out.println(entry.getKey());
            System.out.println(entry.getValue().content);
          }
        }
      }
    
      static class Gist {
        Map<String, GistFile> files;
      }
    
      static class GistFile {
        String content;
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java

             * @return String
             */
            public String getEee() {
                return null;
            }
    
            /**
             * @param eee
             *            eee
             */
            public void setEee(final String eee) {
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        }
    
        // Test getExpiry with default value
        public void test_getExpiry_default() {
            assertEquals(30L * 24 * 60 * 60 * 1000L, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with valid value
        public void test_expiry_validValue() {
            long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(newExpiry);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            assertEquals("${temp}/file", generator.expandPath("${temp}/file")); // No partial replacement
        }
    
        public void test_directoryNameLength() {
            // Test directoryNameLength setter
            generator = new TestThumbnailGenerator();
    
            // Default value
            assertEquals(5, generator.directoryNameLength);
    
            // Set new value
            generator.setDirectoryNameLength(10);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

        Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
        Entry<K, V> entry = iterator.next();
        K key = entry.getKey();
        V value = entry.getValue();
        multimap().removeAll(key);
        assertEquals(key, entry.getKey());
        assertEquals(value, entry.getValue());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top