- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for Valid (0.13 sec)
-
guava-tests/test/com/google/common/net/InternetDomainNameTest.java
} public void testIsValid() { final Iterable<String> validCases = Iterables.concat(VALID_NAME, PS, NO_PS, NON_PS); final Iterable<String> invalidCases = Iterables.concat(INVALID_NAME, VALID_IP_ADDRS, INVALID_IP_ADDRS); for (String valid : validCases) { assertTrue(valid, InternetDomainName.isValid(valid)); } for (String invalid : invalidCases) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Mar 05 13:16:00 GMT 2024 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
} public void testIsValid() { final Iterable<String> validCases = Iterables.concat(VALID_NAME, PS, NO_PS, NON_PS); final Iterable<String> invalidCases = Iterables.concat(INVALID_NAME, VALID_IP_ADDRS, INVALID_IP_ADDRS); for (String valid : validCases) { assertTrue(valid, InternetDomainName.isValid(valid)); } for (String invalid : invalidCases) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Mar 05 13:16:00 GMT 2024 - 17.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
* on the deserialized instance. * * <p>When the underlying delegate throws an exception then this memoizing supplier will keep * delegating calls until it returns valid data. * * <p>If {@code delegate} is an instance created by an earlier call to {@code memoize}, it is * returned directly. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 15.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
* mention that key with its values. Further duplicates might be added in the meantime but since * builders only ever accumulate entries it will always be valid to throw from buildOrThrow() with * the first duplicate. */ // This entry point is for callers other than ImmutableMap.Builder. static <K, V> RegularImmutableMap<K, V> create(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 15 22:32:14 GMT 2024 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
* on the deserialized instance. * * <p>When the underlying delegate throws an exception then this memoizing supplier will keep * delegating calls until it returns valid data. * * <p>If {@code delegate} is an instance created by an earlier call to {@code memoize}, it is * returned directly. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 15.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java
BuilderProblem.Severity.ERROR, "pluginGroups.pluginGroup[" + i + "]", null, "must denote a valid group id and match the pattern " + ID); } } } List<Server> servers = settings.getServers(); if (servers != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 13.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/BaseEncoding.java
return result; } byte[] trunc = new byte[length]; System.arraycopy(result, 0, trunc, 0, length); return trunc; } /** * Determines whether the specified character sequence is a valid encoded string according to this * encoding. * * @since 20.0 */ public abstract boolean canDecode(CharSequence chars); /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Mar 15 16:33:32 GMT 2024 - 41.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
} public void test_contains_nonnull_iterable_no() { Iterable<String> set = iterable("a", "b"); assertFalse(Iterables.contains(set, "c")); } public void testGetOnlyElement_noDefault_valid() { Iterable<String> iterable = Collections.singletonList("foo"); assertEquals("foo", Iterables.getOnlyElement(iterable)); } public void testGetOnlyElement_noDefault_empty() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 47.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
} @Override public String toString() { return "BY_TO_STRING"; } private Object readResolve() { return INSTANCE; } } // Always equal is a valid total ordering. And it works for any Object. private static final class AlwaysEqual extends Ordering<@Nullable Object> implements Serializable { private static final AlwaysEqual INSTANCE = new AlwaysEqual();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 21K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
} @Override public String toString() { return "BY_TO_STRING"; } private Object readResolve() { return INSTANCE; } } // Always equal is a valid total ordering. And it works for any Object. private static final class AlwaysEqual extends Ordering<@Nullable Object> implements Serializable { private static final AlwaysEqual INSTANCE = new AlwaysEqual();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 20.5K bytes - Viewed (0)