Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 320 for ToArray (0.1 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                Trans2FindFirst2Response resp = inv.getArgument(1);
                // First response content
                FE[] res = java.util.Arrays.stream(batches.get(0)).map(FE::new).toArray(FE[]::new);
                setField(resp, jcifs.internal.smb1.trans.SmbComTransactionResponse.class, "results", res);
                setField(resp, Trans2FindFirst2Response.class, "sid", 42);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CurlHelper.java

                }
            }
    
            final String[] hosts = split(ResourceUtil.getFesenHttpUrl(), ",")
                    .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            nodeManager = new NodeManager(hosts, node -> request(new CurlRequest(Method.GET, node.getUrl("/"))));
            nodeManager.setHeartbeatInterval(fessConfig.getFesenHeartbeatInterval());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/cbean/bs/BsUserCB.java

                _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
            }
    
            if (_specification != null) {
                builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
            }
    
            return builder;
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. 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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. 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++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                    searchLog.setUserSessionId(userCode);
                    searchLog.setUserInfo(getUserInfo(userCode));
                }
            }
    
            searchLog.setRoles(roleQueryHelper.build(params.getType()).stream().toArray(n -> new String[n]));
            searchLog.setQueryId(queryId);
            searchLog.setHitCount(queryResponseList.getAllRecordCount());
            searchLog.setHitCountRelation(queryResponseList.getAllRecordCountRelation());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      @GwtIncompatible // Iterators.toArray(Iterator, Class)
      public void testToArrayEmpty() {
        Iterator<String> iterator = Collections.<String>emptyList().iterator();
        String[] array = Iterators.toArray(iterator, String.class);
        assertTrue(Arrays.equals(new String[0], array));
      }
    
      @GwtIncompatible // Iterators.toArray(Iterator, Class)
      public void testToArraySingleton() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> if an object array is acceptable, use {@code
       * stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code
       * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[])
       * Array.newInstance(type, len))}.
       *
       * @param type the type of the elements
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> if an object array is acceptable, use {@code
       * stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code
       * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[])
       * Array.newInstance(type, len))}.
       *
       * @param type the type of the elements
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        doTestToArrayImpl1(Lists.newArrayList(1));
        doTestToArrayImpl1(Lists.<@Nullable Integer>newArrayList(1, null, 3));
      }
    
      private void doTestToArrayImpl1(List<Integer> list) {
        Object[] reference = list.toArray();
        Object[] target = ObjectArrays.toArrayImpl(list);
        assertEquals(reference.getClass(), target.getClass());
        assertTrue(Arrays.equals(reference, target));
      }
    
      public void testToArrayImpl2() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top