Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for emptyList (0.19 sec)

  1. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

        return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection();
      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      Collection<V> unmodifiableEmptyCollection() {
        if (unfiltered instanceof SetMultimap) {
          return emptySet();
        } else {
          return emptyList();
        }
      }
    
      @Override
      public void clear() {
        keySet().clear();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/FilteredKeyMultimap.java

        return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection();
      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      Collection<V> unmodifiableEmptyCollection() {
        if (unfiltered instanceof SetMultimap) {
          return emptySet();
        } else {
          return emptyList();
        }
      }
    
      @Override
      public void clear() {
        keySet().clear();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. 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
    - 46.6K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

              localAddress = InetAddress.getByAddress("127.0.0.1", byteArrayOf(127, 0, 0, 1)),
              localPort = 80,
            ),
          )
        val request = RecordedRequest(DEFAULT_REQUEST_LINE_HTTP_1, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)
        assertThat(request.url.toString()).isEqualTo("http://127.0.0.1/")
      }
    
      @Test fun testAuthorityForm() {
        val socket =
          MockWebServerSocket(
            FakeSocket(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. .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)
  10. 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)
Back to top