Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 320 for ToArray (0.11 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

              if (combined.size() > 1) { // Object is implicit and only useful if it's the only bound.
                combined.remove(Object.class);
              }
              return super.captureAsTypeVariable(combined.toArray(new Type[0]));
            }
          };
        }
    
        private WildcardCapturer notForTypeVariable() {
          return new WildcardCapturer(id);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (input instanceof String[]) {
                values = (String[]) input;
            } else if (input instanceof List) {
                values = ((List<?>) input).stream().filter(Objects::nonNull).map(Object::toString).toArray(n -> new String[n]);
            } else if (input instanceof String) {
                return input.toString();
            }
            if (values != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            if (!arList.isEmpty()) {
                final long commitMarginTime = fessConfig.getIndexerWebfsCommitMarginTimeAsInteger().longValue();
                for (final AccessResult<?> ar : arList.toArray(new AccessResult[arList.size()])) {
                    if (ar.getCreateTime().longValue() > execTime - commitMarginTime) {
                        arList.remove(ar);
                    }
                }
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

        }
    
        List<String> sampleDataList = new ArrayList<>();
        sampleDataList.addAll(hits);
        sampleDataList.addAll(misses);
        Collections.shuffle(sampleDataList);
        sampleData = sampleDataList.toArray(new String[sampleDataList.size()]);
      }
    
      // Since we can't pass a concrete SomeEnum.class directly, we need to use a raw type.
      @SuppressWarnings("unchecked")
      @Benchmark
      boolean getIfPresent(int repetitions) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

          return forward.descendingIterator();
        }
    
        @Override
        public @Nullable Object[] toArray() {
          return standardToArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return standardToArray(array);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  6. docs/smb3-features/02-persistent-handles-design.md

                        log.error("Failed to reconnect handle: " + handle.path, e);
                    }
                }));
            }
            
            // Wait for all reconnections
            CompletableFuture.allOf(futures.toArray(new CompletableFuture[0])).join();
        }
    }
    ```
    
    ## 11. Monitoring and Metrics
    
    ### 11.1 Handle Statistics
    ```java
    public class HandleStatistics {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/TraversalUtil.java

                    list.add(resourcesType);
                }
            }
            if (list.isEmpty()) {
                logger.log("WCL0014", rootPackage);
                return EMPTY_ARRAY;
            }
            return list.toArray(new Traverser[list.size()]);
        }
    
        /**
         * Creates and returns a {@link Traverser} for handling the specified URL.
         * <p>
         * Returns <code>null</code> if the protocol of the URL is unknown.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

            for (final String line : values) {
                if (StringUtil.isNotBlank(line)) {
                    list.add(line.trim());
                }
            }
            return list.toArray(new String[list.size()]);
        }
    
        // ===================================================================================
        //                                                                              JSP
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      private static <T> @Nullable T invoke(Invokable<?, ? extends T> factory, List<?> args)
          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/TypeResolver.java

              if (combined.size() > 1) { // Object is implicit and only useful if it's the only bound.
                combined.remove(Object.class);
              }
              return super.captureAsTypeVariable(combined.toArray(new Type[0]));
            }
          };
        }
    
        private WildcardCapturer notForTypeVariable() {
          return new WildcardCapturer(id);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top