- Sort Score
- Num 10 results
- Language All
Results 681 - 690 of 2,000 for collections (0.1 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
public void testAddAll_supportedSomePresent() { assertTrue( "addAll(somePresent) should return true", collection.addAll(MinimalCollection.of(e3(), e0()))); assertTrue("should contain " + e3(), collection.contains(e3())); assertTrue("should contain " + e0(), collection.contains(e0())); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.9K bytes - Click Count (0) -
README.md
badWordSettings.setList(new String[]{"blocked", "terms"}); }) .elevateWordSettings(elevateWordSettings -> { elevateWordSettings.setElevateWords(Collections.singletonList( new ElevateWord("priority", 2.0f, Collections.emptyList()) )); }) .build(); ``` ### Request Parameters ```java SuggestResponse response = suggester.suggest()
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Aug 31 03:31:14 GMT 2025 - 12.1K bytes - Click Count (1) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
UnsupportedOperationException.class, () -> collection.removeAll(MinimalCollection.of(e0()))); expectUnchanged(); assertTrue(collection.contains(e0())); } /* * AbstractCollection fails the removeAll(null) test when the subject * collection is empty, but we'd still like to test removeAll(null) when we * can. We split the test into empty and non-empty cases. This allows us to * suppress only the former.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 7.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import static java.util.Collections.emptyList; import static java.util.Collections.nCopies; import static java.util.Collections.singletonList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 23.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.toolchain; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import org.apache.maven.api.Session; import org.apache.maven.api.services.Lookup;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 11K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
* limitations under the License. */ package com.google.common.collect.testing.features; import static com.google.common.collect.testing.Helpers.copyToSet; import static java.util.Collections.disjoint; import static java.util.Collections.unmodifiableList; import com.google.common.annotations.GwtIncompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.lang.annotation.Annotation;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
import static org.mockito.Mockito.when; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.util.Collections; import java.util.Vector; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
import static java.util.Arrays.asList; import static java.util.Collections.emptyMap; import static java.util.Collections.emptySet; import static java.util.Collections.singleton; import static java.util.Collections.singletonMap; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Collection; import java.util.HashSet; import java.util.Iterator;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
() -> { Iterator<E> iterator = collection.iterator(); assertTrue(collection.add(e3())); iterator.next(); }); } /** * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of * {@link java.util.Collections#checkedCollection(java.util.Collection, Class)} can suppress itCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6K bytes - Click Count (0)