Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for getA (0.16 sec)

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

            final Map<String, Object> dest = newHashMap();
            BeanUtil.copyBeanToMap(src, dest);
            assertThat(dest.get("aaa"), is((Object) "aaa"));
            assertThat(dest.get("bbb"), is(nullValue()));
            assertThat(dest.get("ccc"), is((Object) "ccc"));
            assertThat(dest.get("ddd"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/stream/StreamUtil.java

            }
    
            public void of(final Consumer<Stream<T>> stream) {
                try (Stream<T> s = supplier.get()) {
                    stream.accept(s);
                }
            }
    
            public <R> R get(final Function<Stream<T>, R> stream) {
                try (Stream<T> s = supplier.get()) {
                    return stream.apply(s);
                }
            }
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. dbflute.xml

    		</condition>
    	</target>
    
    	<target name="download.dbflute" depends="mydbflute.check" unless="mydbflute.exists">
    		<mkdir dir="${mydbflute.dir}" />
    		<get dest="${target.dir}/mydbflute.zip">
    			<url url="${mydbflute.url}" />
    		</get>
    		<unzip dest="${mydbflute.dir}" src="${target.dir}/mydbflute.zip">
    			<patternset>
    				<include name="lastaflute-example-waterfront-${branch.name}/mydbflute/dbflute-1.x/**" />
    XML
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Apr 04 02:03:51 GMT 2024
    - 1000 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        }
    
        @Override
        public boolean equals(final Object o) {
            return getProperties().equals(o);
        }
    
        @Override
        public Object get(final Object key) {
            return getProperties().get(key);
        }
    
        @Override
        public String getProperty(final String key, final String defaultValue) {
            return getProperties().getProperty(key, defaultValue);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            assertThat(option.include(BeanNames.hoge()), is(sameInstance(option)));
            assertThat(option.includePropertyNames.size(), is(1));
            assertThat(option.includePropertyNames.get(0), is("hoge"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testExcludes() throws Exception {
            final CopyOptions option = new CopyOptions();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/net/URLUtil.java

         * @return 正規化されたプロトコル
         */
        public static String toCanonicalProtocol(final String protocol) {
            assertArgumentNotEmpty("protocol", protocol);
    
            final String canonicalProtocol = CANONICAL_PROTOCOLS.get(protocol);
            if (canonicalProtocol != null) {
                return canonicalProtocol;
            }
            return protocol;
        }
    
        /**
         * URLが示すJarファイルの{@link File}オブジェクトを返します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/GenericsUtil.java

            }
            if (type instanceof TypeVariable) {
                final TypeVariable<?> typeVariable = TypeVariable.class.cast(type);
                if (map.containsKey(typeVariable)) {
                    return getActualClass(map.get(typeVariable), map);
                }
                return getActualClass(typeVariable.getBounds()[0], map);
            }
            if (type instanceof GenericArrayType) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /**
         * Get the value for the key 'api.cors.allow.origin'. <br>
         * The value is, e.g. * <br>
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getApiCorsAllowOrigin();
    
        /**
         * Get the value for the key 'api.cors.allow.methods'. <br>
         * The value is, e.g. GET, POST, OPTIONS, DELETE, PUT <br>
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (5)
  9. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        public void testGet() throws Exception {
            assertThat(map.get("ONE"), is("1"));
            assertThat(map.get("One"), is("1"));
            assertThat(map.get("hoge"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPut() throws Exception {
            assertThat(map.put("One", "11"), is("1"));
            assertThat(map.get("one"), is("11"));
        }
    
        /**
         * @throws Exception
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

        }
    
        public void test_ofNull() {
            assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length));
            Object[] o = {};
            assertEquals(0, (int) StreamUtil.stream(o).get(s -> s.toArray().length));
            Map<Object, Object> map = new HashMap<Object, Object>();
            assertEquals(0, (int) StreamUtil.stream(map).get(s -> s.toArray().length));
        }
    
        public void test_ofMap() {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top