Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Value (0.12 sec)

  1. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

        public Object getAsObject(final String value) {
            if (StringUtil.isEmpty(value)) {
                return null;
            }
            try {
                return new DecimalFormat(pattern).parse(value);
            } catch (final ParseException e) {
                throw new ParseRuntimeException(e);
            }
    
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
    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)
  2. src/main/java/org/codelibs/core/text/JsonUtil.java

         */
        protected JsonUtil() {
        }
    
        /**
         * Escapes a value as Json string.
         *
         * @param value input
         * @return escaped string.
         */
        public static String escape(final String value) {
            if (value == null) {
                return null;
            }
    
            char c;
            final int len = value.length();
            final StringBuilder buf = new StringBuilder(len * 2);
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        @Override
        public boolean contains(final Object value) {
            return getProperties().contains(value);
        }
    
        @Override
        public boolean containsKey(final Object key) {
            return getProperties().containsKey(key);
        }
    
        @Override
        public boolean containsValue(final Object value) {
            return getProperties().containsValue(value);
        }
    
        @Override
    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)
  4. dbflute.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <project name="dbflute" basedir=".">
    	<property name="mydbflute.dir" value="${basedir}/mydbflute" />
    	<property name="target.dir" value="${basedir}/target" />
    	<property name="branch.name" value="fess-14.13" />
    	<property name="mydbflute.url" value="https://github.com/lastaflute/lastaflute-example-waterfront/archive/${branch.name}.zip" />
    
    	<target name="mydbflute.check">
    		<condition property="mydbflute.exists">
    XML
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Apr 04 02:03:51 GMT 2024
    - 1000 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/Converter.java

    public interface Converter {
    
        /**
         * 値を文字列として返します。
         *
         * @param value
         *            値
         * @return 文字列としての値
         */
        String getAsString(Object value);
    
        /**
         * 値をオブジェクトとして返します。
         *
         * @param value
         *            値
         * @return オブジェクトとしての値
         */
        Object getAsObject(String value);
    
        /**
         * このコンバータの変換対象なら{@literal true}を返します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/stream/StreamUtil.java

            return new StreamOf<>(() -> values != null ? Arrays.stream(values) : Collections.<T> emptyList().stream());
        }
    
        public static StreamOf<String> split(final String value, final String regex) {
            return stream(value == null ? null : value.split(regex));
        }
    
        public static <K, V> StreamOf<Map.Entry<K, V>> stream(final Map<K, V> map) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/LruHashSet.java

     *
     */
    public class LruHashSet<E> extends AbstractSet<E> implements Set<E>, java.io.Serializable {
        private static final long serialVersionUID = 1L;
    
        private final LruHashMap<E, Object> map;
    
        // Dummy value to associate with an Object in the backing Map
        private static final Object PRESENT = new Object();
    
        public LruHashSet(final int limitSize) {
            map = new LruHashMap<>(limitSize);
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/Base64Util.java

        private static final char PAD = '=';
    
        private static final byte[] DECODE_TABLE = new byte[128];
        static {
            for (int i = 0; i < DECODE_TABLE.length; i++) {
                DECODE_TABLE[i] = Byte.MAX_VALUE;
            }
            for (int i = 0; i < ENCODE_TABLE.length; i++) {
                DECODE_TABLE[ENCODE_TABLE[i]] = (byte) i;
            }
        }
    
        /**
         * Base64でエンコードします。
         *
         * @param inData
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top