Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for target (1.04 sec)

  1. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

        @Override
        public <T> T getValue(final Object target) {
            assertArgumentNotNull("target", target);
    
            try {
                assertState(readable, propertyName + " is not readable.");
                if (hasReadMethod()) {
                    return MethodUtil.invoke(readMethod, target, EMPTY_ARGS);
                }
                return FieldUtil.get(field, target);
            } catch (final Throwable t) {
    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)
  2. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @param target
         *            フィールドを変更するオブジェクト。フィールドが{@literal static}の場合は{@literal null}
         * @param value
         *            変更中の{@code target}の新しいフィールド値
         * @throws IllegalAccessRuntimeException
         *             基本となるフィールドにアクセスできない場合
         * @see Field#set(Object, Object)
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/MethodUtil.java

         */
        @SuppressWarnings("unchecked")
        public static <T> T invoke(final Method method, final Object target, final Object... args)
                throws InvocationTargetRuntimeException, IllegalAccessRuntimeException {
            assertArgumentNotNull("method", method);
    
            try {
                return (T) method.invoke(target, args);
            } catch (final InvocationTargetException ex) {
                final Throwable t = ex.getCause();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         *
         * @param clazz
         *            クラス
         * @return コンバータ
         */
        protected Converter findConverter(final Class<?> clazz) {
            for (final Converter c : converters) {
                if (c.isTarget(clazz)) {
                    return c;
                }
            }
            return null;
        }
    
        /**
         * クラスに対応するデフォルトのコンバータを探します。
         *
         * @param clazz
         *            クラス
    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)
  5. src/main/java/org/codelibs/core/lang/StringUtil.java

            if (target1 == null || target2 == null) {
                return false;
            }
            final int length1 = target1.length();
            final int length2 = target2.length();
            if (length1 < length2) {
                return false;
            }
            final String s1 = target1.substring(0, target2.length());
            return s1.equalsIgnoreCase(target2);
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
Back to top