- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for matchesAllOf (0.07 sec)
-
guava/src/com/google/common/base/CharMatcher.java
* * <p>Example usages: * * <pre> * String trimmed = {@link #whitespace() whitespace()}.{@link #trimFrom trimFrom}(userInput); * if ({@link #ascii() ascii()}.{@link #matchesAllOf matchesAllOf}(s)) { ... }</pre> * * <p>See the Guava User Guide article on <a * href="https://github.com/google/guava/wiki/StringsExplained#charmatcher">{@code CharMatcher} * </a>. * * @author Kevin Bourrillion
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 53.9K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 47.1K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 47.1K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Sep 26 19:15:09 UTC 2024 - 47.5K bytes - Viewed (0) -
guava/src/com/google/common/net/HostAndPort.java
// Try to parse the whole port string as a number. // Java accepts leading plus signs. We don't want to. checkArgument( !portString.startsWith("+") && CharMatcher.ascii().matchesAllOf(portString), "Unparseable port number: %s", hostPortString); try { port = Integer.parseInt(portString); } catch (NumberFormatException e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 22:02:22 UTC 2024 - 11.3K bytes - Viewed (0)