Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 348 for toArray (0.03 sec)

  1. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

            }
          }
        }
        ImmutableSet<Integer> webSafeColors = webSafeColorsBuilder.build();
        assertEquals(216, webSafeColors.size());
        Integer[] webSafeColorArray = webSafeColors.toArray(new Integer[webSafeColors.size()]);
        assertEquals(0x000000, (int) webSafeColorArray[0]);
        assertEquals(0x000033, (int) webSafeColorArray[1]);
        assertEquals(0x000066, (int) webSafeColorArray[2]);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ArrayTable.java

     * <p>This class provides methods involving the underlying array structure, where the array indices
     * correspond to the position of a row or column in the lists of allowed keys and values. See the
     * {@link #at}, {@link #set}, {@link #toArray}, {@link #rowKeyList}, and {@link #columnKeyList}
     * methods for more details.
     *
     * <p>Note that this implementation is not synchronized. If multiple threads access the same cell of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    return (T) value;
                }
                if (clazz.isAssignableFrom(String[].class)) {
                    return (T) ((List<?>) value).stream().filter(s -> s != null).map(Object::toString).toArray(n -> new String[n]);
                }
    
                if (((List<?>) value).isEmpty()) {
                    return null;
                }
    
                return convertObj(((List<?>) value).get(0), clazz);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/PrunedTag.java

                        tag.setId(matcher.group(4).substring(1));
                    }
                    return tag;
                }
                throw new FessSystemException("Invalid pruned tag: " + v);
            }).toArray(n -> new PrunedTag[n]));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

         * @return The simplified array.
         */
        protected static String[] simplifyArray(final String[] values) {
            return stream(values).get(stream -> stream.filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]));
        }
    
        /**
         * Returns the parameter value array.
         *
         * @param request The request.
         * @param param The parameter.
         * @return The parameter value array.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                if (oldValue instanceof Object[]) {
                    oldValues = (Object[]) oldValue;
                } else if (oldValue instanceof Collection<?>) {
                    oldValues = ((Collection<?>) oldValue).toArray();
                } else {
                    oldValues = new Object[] { oldValue };
                }
                if (value.getClass().isArray()) {
                    final Object[] newValues = (Object[]) value;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ObjectArrays.java

          @Nullable Object[] unsoundlyCovariantArray = array;
          unsoundlyCovariantArray[size] = null;
        }
        return array;
      }
    
      /**
       * Implementation of {@link Collection#toArray(Object[])} for collections backed by an object
       * array. the runtime type of the returned array is that of the specified array. If the collection
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessClient.java

                unregisterFutures.add(unregister(registration));
            }
    
            // Wait for all unregistrations to complete
            try {
                CompletableFuture.allOf(unregisterFutures.toArray(new CompletableFuture[0])).get(10, TimeUnit.SECONDS);
            } catch (Exception e) {
                log.warn("Error during witness client shutdown", e);
            }
    
            // Shutdown scheduler
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                    if (regexData.getFirst().matcher(query).matches()) {
                        contentList.add(regexData.getSecond().replace(queryPlaceHolder, query));
                    }
                }
                return contentList.toArray(new String[contentList.size()]);
            }
            return StringUtil.EMPTY_STRINGS;
        }
    
        private String toLowerCase(final String term) {
            return term != null ? term.toLowerCase(Locale.ROOT) : term;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

                    for (int i = 0; i < nodeList.size(); i++) {
                        final Node node = nodeList.get(i);
                        strList.add(node.getTextContent());
                    }
                    return strList.toArray(n -> new String[n]);
                case NODE:
                    final Node node = (Node) xObj.value();
                    return new String[] { node.getTextContent() };
                default:
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top