Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for matchesAllOf (0.04 sec)

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

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        assertEquals(-1, matcher.lastIndexIn(""));
        assertFalse(matcher.matchesAnyOf(""));
        assertTrue(matcher.matchesAllOf(""));
        assertTrue(matcher.matchesNoneOf(""));
        assertEquals("", matcher.removeFrom(""));
        assertEquals("", matcher.replaceFrom("", 'z'));
        assertEquals("", matcher.replaceFrom("", "ZZ"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CharMatcherTest.java

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        assertEquals(-1, matcher.lastIndexIn(""));
        assertFalse(matcher.matchesAnyOf(""));
        assertTrue(matcher.matchesAllOf(""));
        assertTrue(matcher.matchesNoneOf(""));
        assertEquals("", matcher.removeFrom(""));
        assertEquals("", matcher.replaceFrom("", 'z'));
        assertEquals("", matcher.replaceFrom("", "ZZ"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InetAddresses.java

       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
       * <p>The scope ID is validated against the interfaces on the machine, which requires permissions
       * under Android.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
       * <p>The scope ID is validated against the interfaces on the machine, which requires permissions
       * under Android.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/MediaType.java

      private static String normalizeToken(String token) {
        checkArgument(TOKEN_MATCHER.matchesAllOf(token));
        checkArgument(!token.isEmpty());
        return Ascii.toLowerCase(token);
      }
    
      private static String normalizeParameterValue(String attribute, String value) {
        checkNotNull(value); // for GWT
        checkArgument(ascii().matchesAllOf(value), "parameter values must be ASCII: %s", value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/MediaType.java

      private static String normalizeToken(String token) {
        checkArgument(TOKEN_MATCHER.matchesAllOf(token));
        checkArgument(!token.isEmpty());
        return Ascii.toLowerCase(token);
      }
    
      private static String normalizeParameterValue(String attribute, String value) {
        checkNotNull(value); // for GWT
        checkArgument(ascii().matchesAllOf(value), "parameter values must be ASCII: %s", value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InternetDomainName.java

         * being allowed due to widespread practice.
         */
    
        String asciiChars = CharMatcher.ascii().retainFrom(part);
    
        if (!PART_CHAR_MATCHER.matchesAllOf(asciiChars)) {
          return false;
        }
    
        // No initial or final dashes or underscores.
    
        if (DASH_MATCHER.matches(part.charAt(0))
            || DASH_MATCHER.matches(part.charAt(part.length() - 1))) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
Back to top