Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for StringBuilder (0.1 sec)

  1. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

    import org.codelibs.fess.util.ComponentUtil;
    
    public abstract class MonitorTarget implements TimeoutTarget {
    
        protected StringBuilder append(final StringBuilder buf, final String key, final Supplier<Object> supplier) {
            final StringBuilder tempBuf = new StringBuilder();
            tempBuf.append('"').append(key).append("\":");
            try {
                final Object value = supplier.get();
                if (value == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/JoinerTest.java

        assertEquals("", joiner.join(array));
    
        StringBuilder sb1FromIterable = new StringBuilder();
        assertSame(sb1FromIterable, joiner.appendTo(sb1FromIterable, set));
        assertEquals(0, sb1FromIterable.length());
    
        StringBuilder sb1FromIterator = new StringBuilder();
        assertSame(sb1FromIterator, joiner.appendTo(sb1FromIterator, set));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

      public void testCopy() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder));
        assertEquals(ASCII, builder.toString());
        assertEquals(ASCII.length(), copied);
    
        StringBuilder builder2 = new StringBuilder();
        copied =
            CharStreams.copy(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharStreamsTest.java

      public void testCopy() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder));
        assertEquals(ASCII, builder.toString());
        assertEquals(ASCII.length(), copied);
    
        StringBuilder builder2 = new StringBuilder();
        copied =
            CharStreams.copy(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

            }
            return target;
        }
    
        private String toString(Dependency dependency) {
            StringBuilder stringBuilder = new StringBuilder();
            stringBuilder
                    .append(dependency.getGroupId())
                    .append(":")
                    .append(dependency.getArtifactId())
                    .append(":")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

            String direction = event.getRequestType() == TransferEvent.RequestType.PUT ? "to" : "from";
    
            TransferResource resource = event.getResource();
            StringBuilder message = new StringBuilder();
            message.append(action).append(' ').append(direction).append(' ').append(resource.getRepositoryId());
            message.append(": ");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

        public String format(long size, ScaleUnit unit, boolean omitSymbol) {
            StringBuilder sb = new StringBuilder();
            format(sb, size, unit, omitSymbol);
            return sb.toString();
        }
    
        public void format(StringBuilder builder, long size) {
            format(builder, size, null, false);
        }
    
        public void format(StringBuilder builder, long size, ScaleUnit unit) {
            format(builder, size, unit, false);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

                this.reader = reader;
            }
    
            public String execute() {
                if (reader == null) {
                    return StringUtil.EMPTY;
                }
                final StringBuilder buf = new StringBuilder(initialCapacity);
                boolean isSpace = false;
                int alphanumSize = 0;
                int symbolSize = 0;
                int c;
                final Set<String> termCache = new HashSet<>(1000);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

        }
    
        public String getOriginalMessage() {
            return originalMessage;
        }
    
        protected static String constructArtifactPath(List<String> path, String indentation) {
            StringBuilder sb = new StringBuilder();
    
            if (path != null) {
                sb.append(LS);
                sb.append(indentation);
                sb.append("Path to dependency: ");
                sb.append(LS);
                int num = 1;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

        private static final char BOX_CHAR = '*';
    
        private static final Pattern S_FILTER = Pattern.compile("\\s+");
    
        public static String separatorLine() {
            StringBuilder sb = new StringBuilder(DEFAULT_MAX_SIZE);
            repeat(sb, '*', DEFAULT_MAX_SIZE);
            return sb.toString();
        }
    
        public static List<String> format(String... lines) {
            int size = DEFAULT_MAX_SIZE;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top