Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for emptyList (0.09 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

            return missingArtifacts != null && !missingArtifacts.isEmpty();
        }
    
        public List<Artifact> getMissingArtifacts() {
            return missingArtifacts == null ? Collections.emptyList() : Collections.unmodifiableList(missingArtifacts);
        }
    
        public MetadataResolutionResult addMissingArtifact(Artifact artifact) {
            missingArtifacts = initList(missingArtifacts);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            Thread th = new Thread(() -> {
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
            final CountDownLatch latch = new CountDownLatch(1);
            deferred.promise().then(response -> latch.countDown());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyCollectionOnAbsentKey() {
        assertFalse(multimap().putAll(k3(), Collections.<V>emptyList()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyCollectionOnAbsentKey() {
        assertFalse(multimap().putAll(k3(), Collections.<V>emptyList()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top