Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for CharMatcher (0.15 sec)

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertSame(CharMatcher.any(), CharMatcher.none().negate());
        assertSame(CharMatcher.none(), CharMatcher.any().negate());
    
        assertSame(WHATEVER, CharMatcher.any().and(WHATEVER));
        assertSame(CharMatcher.any(), CharMatcher.any().or(WHATEVER));
    
        assertSame(CharMatcher.none(), CharMatcher.none().and(WHATEVER));
        assertSame(WHATEVER, CharMatcher.none().or(WHATEVER));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertSame(CharMatcher.any(), CharMatcher.none().negate());
        assertSame(CharMatcher.none(), CharMatcher.any().negate());
    
        assertSame(WHATEVER, CharMatcher.any().and(WHATEVER));
        assertSame(CharMatcher.any(), CharMatcher.any().or(WHATEVER));
    
        assertSame(CharMatcher.none(), CharMatcher.none().and(WHATEVER));
        assertSame(WHATEVER, CharMatcher.none().or(WHATEVER));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InternetDomainName.java

        }
    
        return true;
      }
    
      private static final CharMatcher DASH_MATCHER = CharMatcher.anyOf("-_");
    
      private static final CharMatcher DIGIT_MATCHER = CharMatcher.inRange('0', '9');
    
      private static final CharMatcher LETTER_MATCHER =
          CharMatcher.inRange('a', 'z').or(CharMatcher.inRange('A', 'Z'));
    
      private static final CharMatcher PART_CHAR_MATCHER =
          DIGIT_MATCHER.or(LETTER_MATCHER).or(DASH_MATCHER);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. guava/src/com/google/common/net/InternetDomainName.java

        }
    
        return true;
      }
    
      private static final CharMatcher DASH_MATCHER = CharMatcher.anyOf("-_");
    
      private static final CharMatcher DIGIT_MATCHER = CharMatcher.inRange('0', '9');
    
      private static final CharMatcher LETTER_MATCHER =
          CharMatcher.inRange('a', 'z').or(CharMatcher.inRange('A', 'Z'));
    
      private static final CharMatcher PART_CHAR_MATCHER =
          DIGIT_MATCHER.or(LETTER_MATCHER).or(DASH_MATCHER);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top