Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for delimiter (0.18 sec)

  1. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

    /**
     * Benchmarks {@link Joiner} against some common implementations of delimiter-based string joining.
     *
     * @author Adomas Paltanavicius
     */
    public class JoinerBenchmark {
    
      private static final String DELIMITER_STRING = ",";
      private static final char DELIMITER_CHARACTER = ',';
    
      private static final Joiner JOINER_ON_STRING = Joiner.on(DELIMITER_STRING);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

    /**
     * Benchmarks {@link Joiner} against some common implementations of delimiter-based string joining.
     *
     * @author Adomas Paltanavicius
     */
    public class JoinerBenchmark {
    
      private static final String DELIMITER_STRING = ",";
      private static final char DELIMITER_CHARACTER = ',';
    
      private static final Joiner JOINER_ON_STRING = Joiner.on(DELIMITER_STRING);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/util/StringUtil.java

         * 
         * @param delimiter
         * @param elements
         * @return elements separated by delimiter
         */
        public static String join ( CharSequence delimiter, CharSequence... elements ) {
            StringBuilder sb = new StringBuilder();
            for ( CharSequence element : elements ) {
                if ( sb.length() > 0 ) {
                    if ( delimiter != null ) {
                        sb.append(delimiter);
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

      private static final int IPV6_PART_COUNT = 8;
      private static final char IPV4_DELIMITER = '.';
      private static final char IPV6_DELIMITER = ':';
      private static final CharMatcher IPV4_DELIMITER_MATCHER = CharMatcher.is(IPV4_DELIMITER);
      private static final CharMatcher IPV6_DELIMITER_MATCHER = CharMatcher.is(IPV6_DELIMITER);
      private static final Inet4Address LOOPBACK4 = (Inet4Address) forString("127.0.0.1");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

        private static final Pattern TYPE_PATTERN = Pattern.compile("(\\w+)\\s*(.*?)\\s*");
        private static final Pattern PARAM_DELIMITER = Pattern.compile(",\\s*");
        private final Document document;
        private final TypeNameResolver typeNameResolver;
        private final LinkRenderer linkRenderer;
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

        doParallelCacheOp(
            count,
            n -> {
              cache.asMap().computeIfPresent(key, (k, v) -> v + delimiter + n);
            });
        assertEquals(1, cache.size());
        assertThat(cache.getIfPresent(key).split(delimiter)).hasLength(count + 1);
      }
    
      public void testComputeIfPresentRemove() {
        List<RemovalNotification<Integer, Integer>> notifications = new ArrayList<>();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

        private static final String RESUME_PROPERTIES_FILENAME = "resume.properties";
        private static final String REMAINING_PROJECTS = "remainingProjects";
        private static final String PROPERTY_DELIMITER = ", ";
        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultBuildResumptionDataRepository.class);
    
        @Override
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/UrlEscapers.java

       * </ul>
       *
       * <p>This escaper is suitable for escaping parameter names and values even when <a
       * href="https://goo.gl/utn6M">using the non-standard semicolon</a>, rather than the ampersand, as
       * a parameter delimiter. Nevertheless, we recommend using the ampersand unless you must
       * interoperate with systems that require semicolons.
       *
       * <p><b>Note:</b> Unlike other escapers, URL escapers produce <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/LineProcessor.java

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface LineProcessor<T extends @Nullable Object> {
    
      /**
       * This method will be called once for each line.
       *
       * @param line the line read from the input, without delimiter
       * @return true to continue processing, false to stop
       */
      @CanIgnoreReturnValue // some uses know that their processor never returns false
      boolean processLine(String line) throws IOException;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

       * {@code joiner}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code joiner.join(stream.iterator())}, or, if you are not
       * using any optional {@code Joiner} features, {@code
       * stream.collect(Collectors.joining(delimiter)}.
       *
       * @since 18.0
       */
      public final String join(Joiner joiner) {
        return joiner.join(this);
      }
    
      /**
       * Returns the element at the specified position in this fluent iterable.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
Back to top