- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 177 for exactly (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
public void testEquals_otherListContainingNull() { List<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, null); assertFalse( "Two Lists should not be equal if exactly one of them has null at a given index.", getList().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
"network interceptor ${interceptors[index - 1]} must retain the same host and port" } check(calls == 1) { "network interceptor ${interceptors[index - 1]} must call proceed() exactly once" } } // Call the next interceptor in the chain. val next = copy(index = index + 1, request = request) val interceptor = interceptors[index] @Suppress("USELESS_ELVIS")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/MoreCollectors.java
* @throws IllegalArgumentException if the stream consists of two or more elements. * @throws NullPointerException if any element in the stream is {@code null}. * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be * {@code null}) and returns {@code Optional.empty()} if it has none. */ @SuppressWarnings("unchecked") public static <T> Collector<T, ?, Optional<T>> toOptional() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
*/ protected final void expectContents(E... elements) { expectContents(asList(elements)); } /** * Asserts that the collection under test contains exactly the given elements, respecting * cardinality but not order. Subclasses may override this method to provide stronger assertions, * e.g., to check ordering in lists, but realize that <strong>unless a test extends {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, testAddress); String result = SystemUtil.getSearchEngineHttpAddress(); assertEquals(testAddress, result); // Should return exactly what's in the property } finally { // Restore original value if (originalValue != null) { System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, originalValue);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 12.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
Collection<Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); entries.add(entry(null, v3())); Map<K, V> other = newHashMap(entries); assertFalse( "Two Maps should not be equal if exactly one of them contains a null key.", getMap().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) @MapFeature.Require(ALLOWS_NULL_VALUES) public void testEquals_containingNullValue() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
* * @author Louis Wasserman */ public class OutsideEventBusTest extends TestCase { /* * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior. * That is, even if exactly the same method works from inside the common.eventbus package tests, * it can fail here. */ public void testAnonymous() { AtomicReference<String> holder = new AtomicReference<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/SingletonImmutableList.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Preconditions; import java.util.Spliterator; /** * Implementation of {@link ImmutableList} with exactly one element. * * @author Hayward Chan */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class SingletonImmutableList<E> extends ImmutableList<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
public void testEquals_otherListContainingNull() { List<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, null); assertFalse( "Two Lists should not be equal if exactly one of them has null at a given index.", getList().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
*/ protected final void expectContents(E... elements) { expectContents(asList(elements)); } /** * Asserts that the collection under test contains exactly the given elements, respecting * cardinality but not order. Subclasses may override this method to provide stronger assertions, * e.g., to check ordering in lists, but realize that <strong>unless a test extends {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.9K bytes - Viewed (0)