- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for pattern (0.15 sec)
-
android/guava-tests/test/com/google/common/base/PredicatesTest.java
} @GwtIncompatible // java.util.regex.Pattern public void testContains_equals() { new EqualsTester() .addEqualityGroup( Predicates.contains(Pattern.compile("foo")), Predicates.containsPattern("foo")) .addEqualityGroup(Predicates.contains(Pattern.compile("foo", Pattern.CASE_INSENSITIVE))) .addEqualityGroup(Predicates.containsPattern("bar"))
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 32.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
* one or more methods to modify the behavior of the backing map entry as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to * the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i>
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Mar 19 19:28:11 GMT 2024 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Platform.java
* that, we hardcode the JDK Pattern compiler on Android (and, inadvertently, on App Engine and * in Guava, at least for now). */ return new JdkPatternCompiler(); } private static final class JdkPatternCompiler implements PatternCompiler { @Override public CommonPattern compile(String pattern) { return new JdkPattern(Pattern.compile(pattern)); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 15 22:32:14 GMT 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testTryParseFailures() { for (String badInput : BAD_TRY_PARSE_INPUTS) { assertThat(badInput) .doesNotMatch( Pattern.compile( Doubles.FLOATING_POINT_PATTERN.pattern(), Doubles.FLOATING_POINT_PATTERN.flags())); assertThat(Doubles.tryParse(badInput)).isEqualTo(referenceTryParse(badInput)); assertThat(Doubles.tryParse(badInput)).isNull(); } }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 31.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testTryParseFailures() { for (String badInput : BAD_TRY_PARSE_INPUTS) { assertThat(badInput) .doesNotMatch( Pattern.compile( Doubles.FLOATING_POINT_PATTERN.pattern(), Doubles.FLOATING_POINT_PATTERN.flags())); assertThat(Doubles.tryParse(badInput)).isEqualTo(referenceTryParse(badInput)); assertThat(Doubles.tryParse(badInput)).isNull(); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 31.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Splitter.java
* Returns a splitter that considers any subsequence matching a given pattern (regular expression) * to be a separator. For example, {@code Splitter.onPattern("\r?\n").split(entireFile)} splits a * string into lines whether it uses DOS-style or UNIX-style line terminators. This is equivalent * to {@code Splitter.on(Pattern.compile(pattern))}. * * @param separatorPattern the pattern that determines whether a subsequence is a separator. This
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 24.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
* one or more methods to modify the behavior of the backing map entry as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to * the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Mar 19 19:28:11 GMT 2024 - 4.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return Integer.toString(generateInt()); } @Generates Comparable<?> generateComparable() { return generateString(); } @Generates Pattern generatePattern() { return Pattern.compile(generateString()); } @Generates Charset generateCharset() { return pickInstance(Charset.availableCharsets().values(), Charsets.UTF_8); } @Generates
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
// different from each other. If buildKeepingLast() collapsed duplicates, that might end up // not being true. Pattern pattern = Pattern.compile("Multiple entries with same key: four=(.*) and four=(.*)"); assertThat(expected).hasMessageThat().matches(pattern); Matcher matcher = pattern.matcher(expected.getMessage()); assertThat(matcher.matches()).isTrue();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 13:27:08 GMT 2024 - 41.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Doubles.java
*/ @GwtIncompatible // regular expressions static final java.util.regex.Pattern FLOATING_POINT_PATTERN = fpPattern(); @GwtIncompatible // regular expressions private static java.util.regex.Pattern fpPattern() { /* * We use # instead of * for possessive quantifiers. This lets us strip them out when building
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 27.1K bytes - Viewed (0)