Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for lists (0.02 sec)

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

      private final transient int[] axesSizeProduct;
    
      static <E> List<List<E>> create(List<? extends List<? extends E>> lists) {
        ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size());
        for (List<? extends E> list : lists) {
          List<E> copy = ImmutableList.copyOf(list);
          if (copy.isEmpty()) {
            return ImmutableList.of();
          }
          axesBuilder.add(copy);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                  protected List<String> create(String[] elements) {
                    // For this test we trust ArrayList works
                    List<String> list = new ArrayList<>();
                    Collections.addAll(list, elements);
                    return new AbstractSequentialList<String>() {
                      @Override
                      public int size() {
                        return list.size();
                      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        /** Name of the search engine cluster */
        protected String clusterName = "fesen";
    
        /** List of rewrite rules for document settings */
        protected final List<UnaryOperator<String>> docSettingRewriteRuleList = new ArrayList<>();
    
        /** List of rewrite rules for document mappings */
        protected final List<UnaryOperator<String>> docMappingRewriteRuleList = new ArrayList<>();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  4. docs/recipes.md

          private val moshi = Moshi.Builder().build()
          private val gistJsonAdapter = moshi.adapter(Gist::class.java)
    
          fun run() {
            val request = Request.Builder()
                .url("https://api.github.com/gists/c2a7c39532239ff261be")
                .build()
            client.newCall(request).execute().use { response ->
              if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeResolver.java

      // For example:
      // class Holder<T> {
      //   void set(T data) {...}
      // }
      // Holder<List<?>> should *not* resolve the set() method to set(List<?> data).
      // Instead, it should create a capture of the wildcard so that set() rejects any List<T>.
      private static class WildcardCapturer {
    
        static final WildcardCapturer INSTANCE = new WildcardCapturer();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertAssignable(
            new TypeToken<List<? extends N1>>() {}, new TypeToken<List<? extends N1>>() {});
        assertAssignable(new TypeToken<List<? super N1>>() {}, new TypeToken<List<? super N1>>() {});
        assertAssignable(
            new TypeToken<List<? extends Number>>() {}, new TypeToken<List<? extends Number>>() {});
        assertAssignable(
            new TypeToken<List<? super Number>>() {}, new TypeToken<List<? super Number>>() {});
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            assertTrue(true);
        }
    
        public void test_setCommandList_empty() throws Exception {
            final List<String> commands = new ArrayList<>();
            generator.setCommandList(commands);
            assertTrue(true);
        }
    
        public void test_setCommandList_multiple() throws Exception {
            final List<String> commands = Arrays.asList("command1", "command2", "command3");
            generator.setCommandList(commands);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  8. android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt

      }
    
      @Test
      fun testWithoutContext() {
        val httpUrl = "https://www.google.co.uk".toHttpUrl()
        assertFailure { httpUrl.topPrivateDomain() }.all {
          hasMessage("Unable to load PublicSuffixDatabase.list resource.")
          cause().isNotNull().all {
            hasMessage(
              "Platform applicationContext not initialized. " +
                "Startup Initializer possibly disabled, " +
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 16:25:39 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      }
    
      /**
       * Returns a snapshot of queues that currently have tasks scheduled. The task runner does not
       * necessarily track queues that have no tasks scheduled.
       */
      fun activeQueues(): List<TaskQueue> {
        this.withLock {
          return busyQueues + readyQueues
        }
      }
    
      fun cancelAll() {
        assertLockHeld()
        for (i in busyQueues.size - 1 downTo 0) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. README.md

    ```
    
    ### Collection Utilities with Java 21 Support
    ```java
    import org.codelibs.core.collection.CollectionsUtil;
    import java.util.SequencedCollection;
    
    // Enhanced collection creation
    List<String> list = CollectionsUtil.newArrayList();
    Map<String, Object> map = CollectionsUtil.newLinkedHashMap();
    Set<String> caseInsensitiveSet = new CaseInsensitiveSet<>();
    
    // Java 21 Sequenced Collections support
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top