Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for isArray (0.17 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

            String expression = param.getExpression();
    
            if (param.isEditable()) {
                boolean isArray = param.getType().endsWith("[]");
                boolean isCollection = false;
                boolean isMap = false;
                boolean isProperties = false;
                if (!isArray) {
                    try {
                        // assuming Type is available in current ClassLoader
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

        }
    
        private
        fun Type.toCodeTypeString(): String {
            if (this is Class<*> && this.isArray) {
                return this.componentType.toCodeTypeString() + "[]"
            }
            return toString()
                .replace("class ", "")
                .replace("interface ", "")
        }
    
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jun 22 10:58:31 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/DebugConfigurationListener.java

         * @return The string representation, never <code>null</code>.
         */
        private String toString(Object obj) {
            String str;
            if (obj != null && obj.getClass().isArray()) {
                int n = Array.getLength(obj);
                StringBuilder buf = new StringBuilder(256);
                buf.append('[');
                for (int i = 0; i < n; i++) {
                    if (i > 0) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                    oldValues = ((Collection<?>) oldValue).toArray();
                } else {
                    oldValues = new Object[] { oldValue };
                }
                if (value.getClass().isArray()) {
                    final Object[] newValues = (Object[]) value;
                    final Object[] values = Arrays.copyOf(oldValues, oldValues.length + newValues.length);
                    for (int i = 0; i < newValues.length; i++) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/SAXRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    
    /**
     * {@link SAXException}をラップする例外です。
     *
     * @author higa
     */
    public class SAXRuntimeException extends ClRuntimeException {
    
    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/exception/ParseRuntimeException.java

         */
        public ParseRuntimeException(final ParseException cause) {
            super("ECL0050", asArray(cause), cause);
        }
    
        /**
         * {@link ParseRuntimeException}を作成します。
         *
         * @param s
         *            解析できなかった文字列
         */
        public ParseRuntimeException(final String s) {
            super("ECL0051", asArray(s));
        }
    
    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)
  7. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class SRuntimeExceptionTest {
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/ResourceNotFoundRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * リソースが見つからなかったときにスローされる例外です。
     *
     * @author higa
     */
    public class ResourceNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 9033370905740809950L;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/IllegalAccessRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * {@link IllegalAccessException}をラップする例外です。
     *
     * @author higa
     */
    public class IllegalAccessRuntimeException extends ClRuntimeException {
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/NoSuchFieldRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * {@link NoSuchFieldException}をラップする例外です。
     *
     * @author higa
     */
    public class NoSuchFieldRuntimeException extends ClRuntimeException {
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top