Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 153 for emptyList (0.28 sec)

  1. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.singletonList;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesWithEmpty() {
        int size = multimap().size();
        List<V> oldValues = new ArrayList<>(multimap().get(k0()));
        List<V> values = emptyList();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            assertNull(searchRenderData.getDocumentItems());
    
            // Test with empty list
            List<Map<String, Object>> emptyList = new ArrayList<>();
            searchRenderData.setDocumentItems(emptyList);
            assertEquals(emptyList, searchRenderData.getDocumentItems());
    
            // Test with populated list
            List<Map<String, Object>> documentItems = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableList.java

    import static java.util.Collections.emptyList;
    import static java.util.Collections.unmodifiableList;
    
    import java.util.List;
    
    /**
     * GWT emulated version of {@link RegularImmutableList}.
     *
     * @author Hayward Chan
     */
    final class RegularImmutableList<E> extends ForwardingImmutableList<E> {
      static final ImmutableList<Object> EMPTY = new RegularImmutableList<Object>(emptyList());
    
      private final List<E> delegate;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbWatchHandleTest.java

         */
        @Test
        void testWatchBufferOverflow() throws CIFSException {
            // Setup mock behavior for buffer overflow scenario
            when(watchHandle.watch()).thenReturn(Collections.emptyList());
    
            // Execute
            List<FileNotifyInformation> result = watchHandle.watch();
    
            // Verify
            assertNotNull(result);
            assertTrue(result.isEmpty());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/opensearch/config/exentity/WebConfigTest.java

                @Override
                public List<WebAuthentication> getWebAuthenticationList(final String webConfigId) {
                    return Collections.emptyList();
                }
            };
            ComponentUtil.register(webAuthenticationService, WebAuthenticationService.class.getCanonicalName());
            RequestHeaderService requestHeaderService = new RequestHeaderService() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        val specificBuilds: List<SpecificBuild> = emptyList(),
        val functionalTests: List<TestCoverage> = emptyList(),
        val docsTests: List<DocsTestCoverage> = emptyList(),
        val performanceTests: List<PerformanceTestCoverage> = emptyList(),
        val performanceTestPartialTriggers: List<PerformanceTestPartialTrigger> = emptyList(),
        val flameGraphs: List<FlameGraphGeneration> = emptyList(),
        val trigger: Trigger = Trigger.NEVER,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Sun Aug 03 22:40:28 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertThrows(IllegalArgumentException.class, () -> Iterables.limit(list, -1));
      }
    
      public void testIsEmpty() {
        Iterable<String> emptyList = emptyList();
        assertTrue(Iterables.isEmpty(emptyList));
    
        Iterable<String> singletonList = singletonList("foo");
        assertFalse(Iterables.isEmpty(singletonList));
      }
    
      public void testSkip_simple() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  9. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

            cookieHandler.get(url.toUri(), emptyMap<String, List<String>>())
          } catch (e: IOException) {
            Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e)
            return emptyList()
          }
    
        var cookies: MutableList<Cookie>? = null
        for ((key, value) in cookieHeaders) {
          if (("Cookie".equals(key, ignoreCase = true) || "Cookie2".equals(key, ignoreCase = true)) &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

                    .build();
        }
    
        @NotThreadSafe
        class ArtifactInstallerRequestBuilder {
            Session session;
            RequestTrace trace;
            Collection<ProducedArtifact> artifacts = Collections.emptyList();
    
            ArtifactInstallerRequestBuilder() {}
    
            @Nonnull
            public ArtifactInstallerRequestBuilder session(@Nonnull Session session) {
                this.session = session;
                return this;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top