Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Value (0.19 sec)

  1. src/main/java/org/codelibs/core/collection/Maps.java

         * @param <VALUE>
         *            <code>Map</code>の値ーの型
         * @param key
         *            <code>Map</code>に追加されるキー
         * @param value
         *            <code>Map</code>に追加される値
         * @return 指定されたキーと値を持つ{@link IdentityHashMap}を構築するための{@literal Maps}
         */
        public static <KEY, VALUE> Maps<KEY, VALUE> identityHashMap(final KEY key, final VALUE value) {
            return new Maps<>(new IdentityHashMap<KEY, VALUE>()).$(key, value);
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

        public static String toString(final Object value, final String pattern) {
            if (value == null) {
                return null;
            } else if (value instanceof String) {
                return (String) value;
            } else if (value instanceof java.util.Date) {
                return toString((java.util.Date) value, pattern);
            } else if (value instanceof Number) {
                return toString((Number) value, pattern);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

         * デリミタを削除します。
         *
         * @param value
         *            文字列の値
         * @param locale
         *            ロケール
         * @return デリミタを削除した結果の文字列
         */
        public static String removeDelimeter(String value, final Locale locale) {
            final String groupingSeparator = findGroupingSeparator(locale);
            if (groupingSeparator != null) {
                value = StringUtil.replace(value, groupingSeparator, "");
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/SingleValueIterator.java

        public static <E> Iterable<E> iterable(final E value) {
            return () -> new SingleValueIterator<>(value);
        }
    
        /**
         * インスタンスを構築します。
         *
         * @param value
         *            反復子が返す唯一の値
         */
        public SingleValueIterator(final E value) {
            this.value = value;
        }
    
        @Override
        public boolean hasNext() {
            return hasNext;
        }
    
        @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/converter/TimeConverter.java

        @Override
        public Object getAsObject(final String value) {
            if (isEmpty(value)) {
                return null;
            }
            return TimeConversionUtil.toSqlTime(value, pattern);
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
                return null;
            }
            return StringConversionUtil.toString((Date) value, pattern);
        }
    
        @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

        /**
         * 値がコピーの対象なら{@literal true}を返します。
         *
         * @param value
         *            コピー元の値
         * @return 値がコピーの対象なら{@literal true}
         */
        protected boolean isTargetValue(final Object value) {
            if (value == null) {
                return !excludesNull;
            }
            if (value instanceof String && excludesWhitespace && ((String) value).trim().isEmpty()) {
                return !excludesWhitespace;
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

            if (methodDesc == null) {
                return null;
            }
            final Object value = methodDesc.invoke(annotation);
            if (value == null || "".equals(value)) {
                return null;
            }
            return value;
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/FieldDesc.java

         *            対象のオブジェクト。{@literal null}であってはいけません
         * @param value
         *            {@link Field}の値
         */
        void setFieldValue(Object target, Object value);
    
        /**
         * staticな{@link Field}の値を設定します。
         *
         * @param value
         *            {@link Field}の値
         */
        void setStaticFieldValue(Object value);
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

         * .
         */
        @Test
        public void testIsNotEmptyMapOfQQ() {
            final HashMap<String, String> map = new HashMap<String, String>();
            map.put("key", "value");
            assertThat(CollectionsUtil.isNotEmpty(map), is(true));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            }
        }
    
        @Override
        public void setValue(final Object target, final Object value) {
            assertArgumentNotNull("target", target);
    
            try {
                final Object convertedValue = convertIfNeed(value);
                assertState(writable, propertyName + " is not writable.");
                if (hasWriteMethod()) {
                    try {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top