- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 565 for present (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java
public class ListAddTester<E> extends AbstractListTester<E> { @CollectionFeature.Require(SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAdd_supportedPresent() { assertTrue("add(present) should return true", getList().add(e0())); expectAdded(e0()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SortedListsTest.java
} break; case LAST_BEFORE: if (list.contains(key)) { assertEquals(list.indexOf(key) - 1, answer); return; } break; } // key is not present int nextHigherIndex = list.size(); for (int i = list.size() - 1; i >= 0 && list.get(i) > key; i--) { nextHigherIndex = i; } switch (absentBehavior) { case NEXT_LOWER:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
assertTrue(parser.getWebConfig().isPresent()); assertTrue(parser.getFileConfig().isPresent()); parser.getWebConfig().ifPresent(config -> { assertTrue(config.getUrls().contains("https://example.com")); assertFalse(config.getUrls().contains("file:///test")); }); parser.getFileConfig().ifPresent(config -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(3, 20); cache.put(6, 2); cache.put(98, 45); cache.put(56, 76); cache.put(23, 84); // Replace the two present elements. cache.put(23, 20); cache.put(56, 49); cache.put(23, 2); cache.put(56, 4); // Expire the two present elements. fakeTicker.advance(1001, MILLISECONDS); cache.getIfPresent(23); cache.getIfPresent(56);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* identical. Otherwise, returns true as long as {@code actualType} is present. */ private static boolean matchesType( Optional<PublicSuffixType> desiredType, Optional<PublicSuffixType> actualType) { return desiredType.isPresent() ? desiredType.equals(actualType) : actualType.isPresent(); } /** Returns the domain name, normalized to all lower case. */ @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapGetTester<K, V> extends AbstractMapTester<K, V> { @CollectionSize.Require(absent = ZERO) public void testGet_yes() { assertEquals("get(present) should return the associated value", v0(), get(k0())); } public void testGet_no() { assertNull("get(notPresent) should return null", get(k3())); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
* * @throws IllegalStateException if multiple charset values have been set for this media type * @throws IllegalCharsetNameException if a charset value is present, but illegal * @throws UnsupportedCharsetException if a charset value is present, but no support is available * in this instance of the Java virtual machine */ public Optional<Charset> charset() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
*/ @Override public Object put(final String key, final Object value) { return parent.put(key, value); } /** * Removes the mapping for a key from this map if it is present. * * @param key the key whose mapping is to be removed from the map * @return the previous value associated with key, or null if no mapping existed */ @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0)