- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,854 for contain (0.29 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
k -> { assertNull(k); return v3(); })); expectUnchanged(); expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported computeIfAbsent(null, function)"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToInstanceMap.java
* type {@code Iterable<Integer>}, the map won't be able to detect and throw type error. * * <p>Like any other {@code Map<Class, Object>}, this map may contain entries for primitive types, * and a primitive type and its corresponding wrapper type may map to different values. * * @param <B> the common supertype that all entries must share; often this is simply {@link Object}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
* </pre> * * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations. * * <p>For more extensive testing, add multiple equality groups. Each group should contain objects * that are equal to each other but unequal to the objects in any other group. For example: * * <pre> * new EqualsTester() * .addEqualityGroup(new User("page"), new User("page"))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* <li>{@code 0X}<i>HexDigits</i> * <li>{@code #}<i>HexDigits</i> * <li>{@code 0}<i>OctalDigits</i> * </ul> * * @throws NumberFormatException if the string does not contain a valid unsigned {@code int} value * @since 13.0 */ @CanIgnoreReturnValue public static int decode(String stringValue) { ParseRequest request = ParseRequest.fromString(stringValue); try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
public void testAdd_nullUnsupported() { assertThrows(NullPointerException.class, () -> collection.add(null)); expectUnchanged(); expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(null)"); } @CollectionFeature.Require({SUPPORTS_ADD, FAILS_FAST_ON_CONCURRENT_MODIFICATION}) @CollectionSize.Require(absent = ZERO) public void testAddConcurrentWithIteration() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
public void testAdd_nullUnsupported() { assertThrows(NullPointerException.class, () -> collection.add(null)); expectUnchanged(); expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(null)"); } @CollectionFeature.Require({SUPPORTS_ADD, FAILS_FAST_ON_CONCURRENT_MODIFICATION}) @CollectionSize.Require(absent = ZERO) public void testAddConcurrentWithIteration() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
List<E> containsNull = singletonList(null); assertThrows(NullPointerException.class, () -> getList().addAll(0, containsNull)); expectUnchanged(); expectNullMissingWhenNullUnsupported( "Should not contain null after unsupported addAll(n, containsNull)"); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = {ZERO, ONE}) public void testAddAllAtIndex_middle() { assertTrue(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
Multiset<String> multiset2 = LinkedHashMultiset.create(); for (int i = 0; i < elements.length; i++) { String element = elements[i]; if (multiset1.contains(element) || multiset2.contains(element)) { // add to both; the one already containing it will have more multiset1.add(element); multiset2.add(element); } else if (i % 2 == 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
logger.debug("{}.{}.Handler does not exist.", basePackage, protocol, e); } catch (final NoSuchFieldRuntimeException e) { logger.debug("{}.{}.Handler does not contain PROTOCOL_TYPE.", basePackage, protocol, e); } catch (final Exception e) { logger.warn("Cannot load Handler from {}.{}", basePackage, protocol, e); } }); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.7K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
return initialPart + penultimate + ":" + ultimate; } private static byte parseOctet(String ipString, int start, int end) { // Note: we already verified that this string contains only hex digits, but the string may still // contain non-decimal characters. int length = end - start; if (length <= 0 || length > 3) { throw new NumberFormatException(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0)