Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 383 for toArray (0.08 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                                .toArray(count -> new SuggestItem.Kind[count]));
                        updateItems.add(item);
                    }
                    final SuggestWriterResult result =
                            suggestWriter.write(client, settings, index, updateItems.toArray(new SuggestItem[updateItems.size()]), false);
                    if (result.hasFailure()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactLinkedHashMap.java

        class KeySetImpl extends KeySetView {
          @Override
          public @Nullable Object[] toArray() {
            return ObjectArrays.toArrayImpl(this);
          }
    
          @Override
          @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
          public <T extends @Nullable Object> T[] toArray(T[] a) {
            return ObjectArrays.toArrayImpl(this, a);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            public Iterator<E> iterator() {
                return parent.iterator();
            }
    
            @Override
            public Object[] toArray() {
                return parent.toArray();
            }
    
            @Override
            public <T> T[] toArray(final T[] a) {
                return parent.toArray(a);
            }
    
            @Override
            public boolean add(final E e) {
                return parent.add(e);
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/DescendingMultiset.java

        return Multisets.iteratorImpl(this);
      }
    
      @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
      public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

            if (StringUtil.isBlank(value)) {
                return StringUtil.EMPTY_STRINGS;
            }
            return split(value, ",").get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).toArray(n -> new String[n]));
        }
    
        protected static String[] getDefaultRolesAsArray() {
            final String value = ComponentUtil.getFessConfig().getSystemProperty("oic.default.roles");
            if (StringUtil.isBlank(value)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                    if (fessConfig.isValidSearchLogPermissions(roles.toArray(new String[roles.size()]))) {
                        suggester.indexer().indexFromSearchWord(sb.toString(), fields.toArray(new String[fields.size()]),
                                tags.toArray(new String[tags.size()]), roles.toArray(new String[roles.size()]), 1, langs);
                        duplicateSessionMap.put(sessionId, requestedAt);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                disallowedPaths.add(path);
            }
    
            public String[] getAllows() {
                return allowedPaths.toArray(new String[allowedPaths.size()]);
            }
    
            public String[] getDisallows() {
                return disallowedPaths.toArray(new String[disallowedPaths.size()]);
            }
        }
    
        @Override
        public String toString() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          char[] chars = Chars.toArray(asList(elements));
          return charactersOf(String.copyValueOf(chars));
        }
      }
    
      public static class CharactersOfCharSequenceGenerator extends TestCharacterListGenerator {
        @Override
        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(asList(elements));
          StringBuilder str = new StringBuilder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

        }
        return sumHolder[0];
      }
    
      @Benchmark
      int arrayListToArrayFor(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (Object value : arrayList.toArray()) {
            sum += value.hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int linkedListFor(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.toArray(none)).isEqualTo(EMPTY);
    
        List<Character> one = Arrays.asList((char) 1);
        assertThat(Chars.toArray(one)).isEqualTo(ARRAY1);
    
        char[] array = {(char) 0, (char) 1, 'A'};
    
        List<Character> three = Arrays.asList((char) 0, (char) 1, 'A');
        assertThat(Chars.toArray(three)).isEqualTo(array);
    
        assertThat(Chars.toArray(Chars.asList(array))).isEqualTo(array);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top