Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 242 for ToArray (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

       */
      @SuppressWarnings("unchecked") // Es come in, Es go out
      public static <E extends @Nullable Object> MinimalIterable<E> from(Collection<E> elements) {
        return (MinimalIterable) of(elements.toArray());
      }
    
      private @Nullable Iterator<E> iterator;
    
      private MinimalIterable(Iterator<E> iterator) {
        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsRoleTypeCB.java

                _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
            }
    
            if (_specification != null) {
                builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
            }
    
            return builder;
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/log/cbean/bs/BsClickLogCB.java

                _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
            }
    
            if (_specification != null) {
                builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
            }
    
            return builder;
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

                sb.append(c);
            }
    
            result.add(sb.toString());
    
            // Validate
            if (quoteCount % 2 != 0) {
                return new String[0];
            }
    
            return result.toArray(new String[result.size()]);
        }
    
        private static String unQuoteUnEscape(final String original) {
            String result = original;
    
            // Unquote
            if (result.indexOf('\"') >= 0) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java

            }
            final List<WebApiManager> list = new ArrayList<>();
            Collections.addAll(list, webApiManagers);
            list.add(webApiManager);
            webApiManagers = list.toArray(new WebApiManager[list.size()]);
            if (logger.isDebugEnabled()) {
                logger.debug("WebApiManager added. totalManagers={}", webApiManagers.length);
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

          chars.add(randomAlpha());
        }
        for (int i = 0; i < nonAlpha; i++) {
          chars.add(randomNonAlpha());
        }
        Collections.shuffle(chars, random);
        char[] array = Chars.toArray(chars);
        this.testString = new String(array);
      }
    
      private char randomAlpha() {
        return ALPHA.charAt(random.nextInt(ALPHA.length()));
      }
    
      private char randomNonAlpha() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

                if (credential instanceof KerberosKey) {
                    serverKeys.add((KerberosKey) credential);
                }
            }
    
            return serverKeys.toArray(new KerberosKey[0]);
        }
    
        /**
         * Retrieves a specific Kerberos key by key type.
         *
         * @param keyType the encryption type of the key to retrieve
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/CompoundOrdering.java

      }
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) {
        this.comparators =
            Iterables.toArray(comparators, (Comparator<? super T>[]) new Comparator<?>[0]);
      }
    
      @Override
      public int compare(@ParametricNullness T left, @ParametricNullness T right) {
        for (int i = 0; i < comparators.length; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/cbean/bs/BsRoleCB.java

                _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
            }
    
            if (_specification != null) {
                builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
            }
    
            return builder;
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

       */
      @SuppressWarnings("unchecked") // Es come in, Es go out
      public static <E extends @Nullable Object> MinimalIterable<E> from(Collection<E> elements) {
        return (MinimalIterable) of(elements.toArray());
      }
    
      private @Nullable Iterator<E> iterator;
    
      private MinimalIterable(Iterator<E> iterator) {
        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
Back to Top