Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for TestMap (0.06 sec)

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

          return super.setValue(value);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      static class TestMap<K, V> extends SynchronizedMapTest.TestMap<K, V>
          implements NavigableMap<K, V> {
    
        public TestMap(NavigableMap<K, V> delegate, Object mutex) {
          super(delegate, mutex);
        }
    
        @Override
        protected NavigableMap<K, V> delegate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/JoinerTest.java

      }
    
      public void test_useForNull_twice() {
        Joiner j = Joiner.on("x").useForNull("y");
        assertThrows(UnsupportedOperationException.class, () -> j.useForNull("y"));
      }
    
      public void testMap() {
        MapJoiner j = Joiner.on(';').withKeyValueSeparator(':');
        assertEquals("", j.join(ImmutableMap.of()));
        assertEquals(":", j.join(ImmutableMap.of("", "")));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfSet(t3)), is(true));
        }
    
        /**
         * @throws Exception
         */
        public void testMap() throws Exception {
            final Method m1 = MapType.class.getMethod("mapOfStringToObject");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Map.class), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertFreshInstance(new TypeToken<Collection<String>>() {});
      }
    
      public void testIterable() {
        assertFreshInstance(new TypeToken<Iterable<String>>() {});
      }
    
      public void testMap() {
        assertFreshInstance(new TypeToken<Map<String, ?>>() {});
      }
    
      public void testHashMap() {
        assertFreshInstance(new TypeToken<HashMap<String, ?>>() {});
      }
    
      public void testLinkedHashMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertFreshInstance(new TypeToken<Collection<String>>() {});
      }
    
      public void testIterable() {
        assertFreshInstance(new TypeToken<Iterable<String>>() {});
      }
    
      public void testMap() {
        assertFreshInstance(new TypeToken<Map<String, ?>>() {});
      }
    
      public void testHashMap() {
        assertFreshInstance(new TypeToken<HashMap<String, ?>>() {});
      }
    
      public void testLinkedHashMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesTest.java

        String i18nHash = "7fa826962ce2079c8334cd4ebf33aea4";
        assertEquals(i18nHash, Files.hash(i18nFile, Hashing.md5()).toString());
      }
    
      public void testMap() throws IOException {
        // Test data
        int size = 1024;
        byte[] bytes = newPreFilledByteArray(size);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        // Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesTest.java

        String i18nHash = "7fa826962ce2079c8334cd4ebf33aea4";
        assertEquals(i18nHash, Files.hash(i18nFile, Hashing.md5()).toString());
      }
    
      public void testMap() throws IOException {
        // Test data
        int size = 1024;
        byte[] bytes = newPreFilledByteArray(size);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        // Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

     * </p>
     *
     * <pre>
     * copyBeanToMap(srcBean, destMap);
     * copyMapToBean(srcMap, destBean);
     * </pre>
     * <p>
     * コピー先となるJavaBeansまたは{@link Map}のインスタンスを新たに生成してコピーすることも出来ます。
     * </p>
     *
     * <pre>
     * DestBean destBean = copyBeanToNewBean(srcBean, DestBean.class);
     * DestBean destBean = copyMapToNewBean(srcMap, DestBean.class);
     * Map&lt;String, Object&gt; destMap = copyBeanToNewMap(srcBean);
     * </pre>
     * <p>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top