- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 48 for MATCHES (0.2 sec)
-
android/guava/src/com/google/common/base/Ascii.java
* * <ul> * <!-- TODO(kevinb): how can we make this not produce a warning when building gwt javadoc? --> * <li>{@link Charsets#US_ASCII} specifies the {@code Charset} of ASCII characters. * <li>{@link CharMatcher#ascii} matches ASCII characters and provides text processing methods * which operate only on the ASCII characters of a string. * </ul> * * @author Catherine Berry * @author Gregory Kick * @since 7.0 */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jul 19 15:43:07 GMT 2021 - 21.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
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))) { return false; } /* * Note that we allow (in contravention of a strict interpretation of the relevant RFCs) domain
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 05 20:47:23 GMT 2024 - 28K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
// 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(); assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2)); } } public void testOf() {
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) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
/** Constructor for use by subclasses. */ protected OldAbstractFuture() {} /* * Improve the documentation of when InterruptedException is thrown. Our * behavior matches the JDK's, but the JDK's documentation is misleading. */ /** * {@inheritDoc} * * <p>The default {@link AbstractFuture} implementation throws {@code InterruptedException} if
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed May 09 15:17:25 GMT 2018 - 13.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
/** Constructor for use by subclasses. */ protected OldAbstractFuture() {} /* * Improve the documentation of when InterruptedException is thrown. Our * behavior matches the JDK's, but the JDK's documentation is misleading. */ /** * {@inheritDoc} * * <p>The default {@link AbstractFuture} implementation throws {@code InterruptedException} if
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 13.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
FIRST, SECOND, THIRD; } // Given a sequence of lock acquisition descriptions // (e.g. "LockA -> LockB", "LockB -> LockC", ...) // Checks that the exception.getMessage() matches a regex of the form: // "LockA -> LockB \b.*\b LockB -> LockC \b.*\b LockC -> LockA" private void checkMessage(IllegalStateException exception, String... expectedLockCycle) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
// ternaries introduce their own problems. because of the ternary (which requires a boxing // operation) no overload can be selected in phase 1. and in phase 2 it is ambiguous since it // matches with the second parameter being boxed and without it being boxed. The cast to Object // avoids this. Preconditions.checkState(aBoolean, "", aBoolean ? "" : anInt, (Object) anInt);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheTesting.java
totalSize += segment.maxSegmentWeight; } return totalSize; } /** * Peeks into the cache's internals to check its internal consistency. Verifies that each * segment's count matches its #elements (after cleanup), each segment is unlocked, each entry * contains a non-null key and value, and the eviction and expiration queues are consistent (see * {@link #checkEviction}, {@link #checkExpiration}). */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 16.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
* methods that do not take an explicit timeout value, a single test case is generated only if the * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is * treated like enter(MAX, MILLIS) and tryEnter() is treated like enter(0, MILLIS). */ private static void addTests( TestSuite suite, Method method,
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 14:48:57 GMT 2023 - 27.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
public String toString() { return string; } }; } @Generates CharMatcher generateCharMatcher() { return new CharMatcher() { @Override public boolean matches(char c) { return false; } final String string = paramString(CharMatcher.class, generateInt()); @Override public String toString() { return string; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28.6K bytes - Viewed (0)