Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 210 for emptyList (0.45 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Integer> asList(int... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
        return new IntArrayAsList(backingArray);
      }
    
      private static final class IntArrayAsList extends AbstractList<Integer>
          implements RandomAccess, Serializable {
        final int[] array;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.min;
    import static java.util.Arrays.asList;
    import static java.util.Arrays.sort;
    import static java.util.Collections.emptyList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#empty}.
       *
       * @since 20.0
       */
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      public static <E extends @Nullable Object> FluentIterable<E> of() {
        return FluentIterable.from(Collections.emptyList());
      }
    
      /**
       * Returns a fluent iterable containing the specified elements in order.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Longs.java

       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Long> asList(long... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
        return new LongArrayAsList(backingArray);
      }
    
      private static final class LongArrayAsList extends AbstractList<Long>
          implements RandomAccess, Serializable {
        final long[] array;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 29K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

      fun challenges(): List<Challenge> {
        return headers.parseChallenges(
          when (code) {
            HTTP_UNAUTHORIZED -> "WWW-Authenticate"
            HTTP_PROXY_AUTH -> "Proxy-Authenticate"
            else -> return emptyList()
          },
        )
      }
    
      /**
       * Returns the cache control directives for this response. This is never null, even if this
       * response contains no `Cache-Control` header.
       */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/MultiChannelManager.java

                    }
                });
                return interfaces;
            } catch (Exception e) {
                log.warn("Failed to get network interfaces: {}", e.getMessage());
                return Collections.emptyList();
            }
        }
    
        private InetAddress getLocalAddressForInterface(NetworkInterface netInterface) {
            return netInterface.getInetAddresses().nextElement();
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                    // When this happens we have a Maven 1.x POM, or some invalid POM.
                    // It should have never found its way into Maven 2.x repository, but it did.
                    dependencies = Collections.emptyList();
                } else {
                    dependencies = rel.project.getModel().getDependencies();
    
                    DependencyManagement depMgmt = rel.project.getModel().getDependencyManagement();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 12:03:50 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

            @Override
            public List<AnalyzeToken> analyze(final String text, final String field, final String lang) {
                if (text == null || text.length() > maxContentLenth) {
                    return Collections.emptyList();
                }
                final AnalyzeAction.Response analyzeResponse = client.admin()
                        .indices()
                        .prepareAnalyze(analyzerSettingsIndexName, text)
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

         */
        protected List<Pair<String, Pattern>> getClientRuleList(final String value) {
            if (StringUtil.isBlank(value)) {
                return Collections.emptyList();
            }
            return split(value, ",").get(stream -> stream.map(String::trim)//
                    .map(s -> clientRuleCache.computeIfAbsent(s, t -> {
                        final String[] values = t.split(":", 2);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                        queryList.add(termQuery);
                        return queryList;
                    }
                }
            }
            return Collections.emptyList();
        }
    
        /**
         * Creates a bulk line for OpenSearch indexing from the given parameters.
         *
         * @param index the name of the OpenSearch index
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 11:21:40 UTC 2025
    - 17.5K bytes
    - Viewed (1)
Back to top