Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for CharMatcher (0.13 sec)

  1. guava/src/com/google/common/base/CharMatcher.java

        @Override
        public String toString() {
          return "CharMatcher.and(" + first + ", " + second + ")";
        }
      }
    
      /** Implementation of {@link #or(CharMatcher)}. */
      private static final class Or extends CharMatcher {
    
        final CharMatcher first;
        final CharMatcher second;
    
        Or(CharMatcher a, CharMatcher b) {
          first = checkNotNull(a);
          second = checkNotNull(b);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Splitter.java

    public final class Splitter {
      private final CharMatcher trimmer;
      private final boolean omitEmptyStrings;
      private final Strategy strategy;
      private final int limit;
    
      private Splitter(Strategy strategy) {
        this(strategy, false, CharMatcher.none(), Integer.MAX_VALUE);
      }
    
      private Splitter(Strategy strategy, boolean omitEmptyStrings, CharMatcher trimmer, int limit) {
        this.strategy = strategy;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/MediaType.java

      /** Matcher for type, subtype and attributes. */
      private static final CharMatcher TOKEN_MATCHER =
          ascii()
              .and(javaIsoControl().negate())
              .and(CharMatcher.isNot(' '))
              .and(CharMatcher.noneOf("()<>@,;:\\\"/[]?="));
    
      private static final CharMatcher QUOTED_TEXT_MATCHER = ascii().and(CharMatcher.noneOf("\"\\\r"));
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

      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");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/SplitterTest.java

        String jacksons =
            "arfo(Marlon)aorf, (Michael)orfa, afro(Jackie)orfa, " + "ofar(Jemaine), aff(Tito)";
        Iterable<String> family =
            COMMA_SPLITTER
                .trimResults(CharMatcher.anyOf("afro").or(CharMatcher.whitespace()))
                .split(jacksons);
        assertThat(family)
            .containsExactly("(Marlon)", "(Michael)", "(Jackie)", "(Jemaine)", "(Tito)")
            .inOrder();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(OptionalLong.class, OptionalLong.empty())
              .put(OptionalDouble.class, OptionalDouble.empty())
              .put(UUID.class, UUID.randomUUID())
              // common.base
              .put(CharMatcher.class, CharMatcher.none())
              .put(Joiner.class, Joiner.on(','))
              .put(Splitter.class, Splitter.on(','))
              .put(com.google.common.base.Optional.class, com.google.common.base.Optional.absent())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Currency.class, Currency.getInstance(Locale.US))
              .put(Locale.class, Locale.US)
              .put(UUID.class, UUID.randomUUID())
              // common.base
              .put(CharMatcher.class, CharMatcher.none())
              .put(Joiner.class, Joiner.on(','))
              .put(Splitter.class, Splitter.on(','))
              .put(com.google.common.base.Optional.class, com.google.common.base.Optional.absent())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

      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");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

     * the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.io.Files.simplifyPath;
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Splitter;
    import java.io.IOException;
    import java.net.URL;
    import java.util.Iterator;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Files#simplifyPath}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

     * the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.io.Files.simplifyPath;
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Splitter;
    import java.io.IOException;
    import java.net.URL;
    import java.util.Iterator;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Files#simplifyPath}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top