Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for delimiters (0.74 sec)

  1. android/guava/src/com/google/common/net/UrlEscapers.java

       *   <li>The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9" remain
       *       the same.
       *   <li>The unreserved characters ".", "-", "~", and "_" remain the same.
       *   <li>The general delimiters "@" and ":" remain the same.
       *   <li>The subdelimiters "!", "$", "&amp;", "'", "(", ")", "*", "+", ",", ";", and "=" remain
       *       the same.
       *   <li>The space character " " is converted into %20.
    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)
  2. android/guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(m).isEqualTo(expected);
        assertThat(m.entrySet()).containsExactlyElementsIn(expected.entrySet()).inOrder();
      }
    
      public void testMapSplitter_CharacterSeparator() {
        // try different delimiters.
        Map<String, String> m =
            Splitter.on(",").withKeyValueSeparator(':').split("boy:tom,girl:tina,cat:kitty,dog:tommy");
        ImmutableMap<String, String> expected =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(m).isEqualTo(expected);
        assertThat(m.entrySet()).containsExactlyElementsIn(expected.entrySet()).inOrder();
      }
    
      public void testMapSplitter_CharacterSeparator() {
        // try different delimiters.
        Map<String, String> m =
            Splitter.on(",").withKeyValueSeparator(':').split("boy:tom,girl:tina,cat:kitty,dog:tommy");
        ImmutableMap<String, String> expected =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K 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. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hasher.java

     * must be identical across languages. Also beware that {@link Charset} definitions may occasionally
     * change between Java releases.
     *
     * <p><b>Warning:</b> Chunks of data that are put into the {@link Hasher} are not delimited. The
     * resulting {@link HashCode} is dependent only on the bytes inserted, and the order in which they
     * were inserted, not how those bytes were chunked into discrete put() operations. For example, the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     *
     * <p>{@code RateLimiter} is safe for concurrent use: It will restrict the total rate of calls from
     * all threads. Note, however, that it does not guarantee fairness.
     *
     * <p>Rate limiters are often used to restrict the rate at which some physical or logical resource
     * is accessed. This is in contrast to {@link java.util.concurrent.Semaphore} which restricts the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top