Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cout (0.18 sec)

  1. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            final MyBean src = new MyBean();
            src.aaa = "2008/01/17";
            final MyBean2 dest = new MyBean2();
            BeanUtil.copyBeanToBean(src, dest, converter(new DateConverter("yyyy/MM/dd")));
            System.out.println(dest.aaa);
            assertThat(dest.aaa, is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_beanToMap() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(getClass());
            final String[] names = beanDesc.getMethodNames();
            for (final String name : names) {
                System.out.println(name);
            }
            assertThat(names.length > 0, is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testInvalidProperty() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        public void testRemove4() throws Exception {
            ArrayMap<String, String> m = new ArrayMap<String, String>();
            m.put("1", "d");
            m.put("2", "d");
            System.out.println("remove before:" + m);
            m.remove("2");
            System.out.println("remove after:" + m);
            assertThat(m.containsKey("2"), is(not(true)));
            assertThat(m.containsKey("1"), is(true));
            assertThat(m.get("1"), is("d"));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayMap.java

            return (Set<Map.Entry<K, V>>) entrySet;
        }
    
        @Override
        public void writeExternal(final ObjectOutput out) throws IOException {
            out.writeInt(listTable.length);
            out.writeInt(size);
            for (int i = 0; i < size; i++) {
                out.writeObject(listTable[i].key);
                out.writeObject(listTable[i].value);
            }
        }
    
        @SuppressWarnings("unchecked")
        @Override
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top