Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 383 for toArray (0.13 sec)

  1. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/EnumsTest.java

        ClassLoader classLoader = getClass().getClassLoader();
        return classLoader instanceof URLClassLoader
            ? ((URLClassLoader) classLoader).getURLs()
            : parseJavaClassPath().toArray(new URL[0]);
      }
    
      /**
       * Returns the URLs in the class path specified by the {@code java.class.path} {@linkplain
       * System#getProperty system property}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                StreamUtil.stream(oldLabels).of(stream -> stream.forEach(newLabelSet::add));
                matchedLabelSet.stream().forEach(newLabelSet::add);
                dataMap.put(fessConfig.getIndexFieldLabel(), newLabelSet.toArray(new String[newLabelSet.size()]));
            }
    
            if (!dataMap.containsKey(fessConfig.getIndexFieldDocId())) {
                dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        List<@Nullable Object> passedArgs = Lists.newArrayList();
        for (Class<?> paramType : method.getParameterTypes()) {
          passedArgs.add(paramValues.generateFresh(paramType));
        }
        return passedArgs.toArray();
      }
    
      /** Tests a single interaction against a method. */
      private static final class InteractionTester<T> extends AbstractInvocationHandler {
    
        private final Class<T> interfaceType;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public @Nullable Object[] toArray() {
          // creating an ArrayList so filtering happens once
          return Lists.newArrayList(iterator()).toArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return Lists.newArrayList(iterator()).toArray(array);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public @Nullable Object[] toArray() {
          // creating an ArrayList so filtering happens once
          return Lists.newArrayList(iterator()).toArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return Lists.newArrayList(iterator()).toArray(array);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        List<@Nullable Object> passedArgs = Lists.newArrayList();
        for (Class<?> paramType : method.getParameterTypes()) {
          passedArgs.add(paramValues.generateFresh(paramType));
        }
        return passedArgs.toArray();
      }
    
      /** Tests a single interaction against a method. */
      private static final class InteractionTester<T> extends AbstractInvocationHandler {
    
        private final Class<T> interfaceType;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java

            out.writeOptionalString(modelName);
            out.writeOptionalString(featureSetName);
            out.writeMap(params);
            out.writeOptionalStringArray(activeFeatures != null ? activeFeatures.toArray(new String[0]) : null);
            out.writeOptionalString(storeName);
        }
    
        @Override
        protected void doXContent(final XContentBuilder builder, final Params params) throws IOException {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. 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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                    responseData.addMetaData(FS_FILE_GROUPS,
                            aclFileAttributeView.getAcl().stream().map(acl -> acl.principal().getName()).toArray(n -> new String[n]));
                    return aclFileAttributeView;
                }
                final PosixFileAttributeView posixFileAttributeView = Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top