Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for setLength (0.27 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMessageBuilder.java

            return this;
        }
    
        @Override
        public MessageBuilder append(char c) {
            buffer.append(c);
            return this;
        }
    
        @Override
        public MessageBuilder setLength(int length) {
            buffer.setLength(length);
            return this;
        }
    
        @Override
        @Nonnull
        public String build() {
            return buffer.toString();
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultMessageBuilder.java

            return this;
        }
    
        @Override
        public MessageBuilder append(char c) {
            buffer.append(c);
            return this;
        }
    
        @Override
        public MessageBuilder setLength(int length) {
            buffer.setLength(length);
            return this;
        }
    
        @Override
        @Nonnull
        public String build() {
            return buffer.toString();
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java

                if (arg != null) {
                    buf.append(arg.getClass().getName());
                } else {
                    buf.append("null");
                }
                buf.append(", ");
            }
            buf.setLength(buf.length() - 2);
            return new String(buf);
        }
    
        private static String getSignature(final Class<?>... paramTypes) {
            if (paramTypes == null || paramTypes.length == 0) {
                return "";
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

            }
            Throwable t = cause.getCause();
            while (t != null) {
                buf.append(t.getMessage()).append("], [");
                t = t.getCause();
            }
            buf.setLength(buf.length() - 4);
            return new String(buf);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/message/MessageFormatter.java

                return "";
            }
            final StringBuilder buffer = new StringBuilder();
            for (final Object arg : args) {
                buffer.append(arg + ", ");
            }
            buffer.setLength(buffer.length() - ", ".length());
            return new String(buffer);
        }
    
        /**
         * 初期化します。
         */
        protected static synchronized void initialize() {
            if (!initialized) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

                }
    
                if (c == COMMA && !insideQuote) {
                    String value = sb.toString();
                    value = unQuoteUnEscape(value);
                    result.add(value);
                    sb.setLength(0);
                    continue;
                }
    
                sb.append(c);
            }
    
            result.add(sb.toString());
    
            // Validate
            if (quoteCount % 2 != 0) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

        }
    
        /**
         * Set the buffer length.
         *
         * @param length the new length
         * @return the current builder
         */
        MessageBuilder setLength(int length);
    
        /**
         * Return the built message.
         *
         * @return the message
         */
        @Nonnull
        String build();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                regexQueries[i] = Pattern.quote(queries[i]);
                hlQueries[i] = highlightTagPre + queries[i] + highlightTagPost;
            }
            while (m.find()) {
                segBuf.setLength(0);
                m.appendReplacement(segBuf, StringUtil.EMPTY);
                String segment = segBuf.toString();
                for (int i = 0; i < queries.length; i++) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  9. src/main/java/org/codelibs/core/lang/MethodUtil.java

            if (argTypes != null && argTypes.length > 0) {
                for (final Class<?> argType : argTypes) {
                    buf.append(argType.getName()).append(", ");
                }
                buf.setLength(buf.length() - 2);
            }
            buf.append(")");
            return new String(buf);
        }
    
        /**
         * シグニチャの文字列表現を返します。
         *
         * @param methodName
    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)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

                    if (pathStartsWithSlash) {
                        if (initialUrlEndsWithSlash) {
                            // 1 extra '/' to remove
                            url.setLength(url.length() - 1);
                        }
                    } else if (!initialUrlEndsWithSlash) {
                        // add missing '/' between url and path
                        url.append('/');
                    }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
Back to top