Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 345 for ToArray (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

                entity.setPermissions(split(form.permissions, "\n").get(stream -> stream.map(s -> permissionHelper.encode(s))
                        .filter(StringUtil::isNotBlank)
                        .distinct()
                        .toArray(n -> new String[n])));
                return entity;
            });
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  2. android/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)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                            }
                        }
                    }
                }
            }
            return list.toArray(n -> new TextFragment[n]);
        }
    
        /**
         * Creates text fragments from search queries.
         *
         * @return array of text fragments based on current queries
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

            return of((K) entry.getKey(), (V) entry.getValue());
          default:
            @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing an Entry<?, ?>[].
            Entry<K, V>[] entryArray = entries.toArray((Entry<K, V>[]) new Entry<?, ?>[entries.size()]);
            return new RegularImmutableMap<K, V>(throwIfDuplicateKeys, entryArray);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

                    tagList.add(key);
                }
                runtime.registerData("popularWords", popularWordHelper.getWordList(SearchRequestType.SEARCH, null,
                        tagList.toArray(new String[tagList.size()]), null, null, null));
            }
            return super.hookBefore(runtime);
        }
    
        /**
         * Returns the login manager for this action. Search actions do not require
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/Utf8Test.java

        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT - 1, 3);
        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT, 4);
        utf8Lengths.put(MAX_CODE_POINT, 4);
    
        Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {});
        StringBuilder sb = new StringBuilder();
        Random rnd = new Random();
        for (int trial = 0; trial < 100; trial++) {
          sb.setLength(0);
          int utf8Length = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SID.java

                    } else {
                        list.add(sids[offset + si]);
                    }
                }
    
                if (list.size() > 0) {
                    sids = (SID[]) list.toArray(new SID[0]);
                    SID.resolveSids0(authorityServerName, auth, sids);
                    for (si = 0; si < sids.length; si++) {
                        sid_cache.put(sids[si], sids[si]);
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

          assertEquals(i + 1, list.get(i).intValue());
        }
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.toArray(new Integer[0])));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static class BuiltTests extends TestCase {
        public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

         */
        public static PathInfo convertToItem(final String id) {
            final String value = decodeId(id);
            final String[] values = split(value, "/").get(stream -> stream.filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            if (values.length == 0) {
                // invalid?
                return new PathInfo(StringUtil.EMPTY, StringUtil.EMPTY);
            }
            if (values.length == 1) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/StringUtil.java

            final StringTokenizer st = new StringTokenizer(str, delim);
            while (st.hasMoreElements()) {
                list.add(st.nextElement().toString());
            }
            return list.toArray(new String[list.size()]);
        }
    
        /**
         * Removes whitespace from the left side of the string.
         *
         * @param text
         *            The text to trim
         * @return The resulting string
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top