Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 383 for toArray (0.08 sec)

  1. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsRequestHeaderCB.java

                _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
            }
    
            if (_specification != null) {
                builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
            }
    
            return builder;
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          Element candidate = newElement();
          if (!elementsInSet.contains(candidate)) {
            queryList.add(candidate);
          }
        }
        shuffle(queryList, random);
        return queryList.toArray(new Element[0]);
      }
    
      private Set<Element> createData() {
        Set<Element> set = Sets.newHashSetWithExpectedSize(size);
        while (set.size() < size) {
          set.add(newElement());
        }
        return set;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        }
    
        Object[] entrySetToArray1 = entrySet.toArray();
        assertEquals(map.size(), entrySetToArray1.length);
        assertTrue(asList(entrySetToArray1).containsAll(entrySet));
    
        Entry<?, ?>[] entrySetToArray2 = new Entry<?, ?>[map.size() + 2];
        entrySetToArray2[map.size()] = mapEntry("foo", 1);
        assertSame(entrySetToArray2, entrySet.toArray(entrySetToArray2));
        assertNull(entrySetToArray2[map.size()]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      protected E[] createSamplesArray() {
        E[] array = getSubjectGenerator().createArray(getNumElements());
        getSampleElements().toArray(array);
        return array;
      }
    
      protected E[] createOrderedArray() {
        E[] array = getSubjectGenerator().createArray(getNumElements());
        getOrderedElements().toArray(array);
        return array;
      }
    
      public static class ArrayWithDuplicate<E extends @Nullable Object> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            processMemberOf(user, groupList, roleList, "https://graph.microsoft.com/v1.0/me/memberOf");
            user.setGroups(groupList.stream().distinct().toArray(n -> new String[n]));
            user.setRoles(roleList.stream().distinct().toArray(n -> new String[n]));
        }
    
        protected void processMemberOf(final AzureAdUser user, final List<String> groupList, final List<String> roleList, final String url) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      public void testVerifyMegaStreamHalves() {
        assertThat(
                concat(megaPrimitiveDoubleStreamPart1(), megaPrimitiveDoubleStreamPart2())
                    .sorted()
                    .toArray())
            .isEqualTo(megaPrimitiveDoubleStream().toArray());
      }
    
      public void testAddAllPrimitiveDoubleStream() {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(megaPrimitiveDoubleStreamPart1());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          int i = 0;
          for (Entry<K, V> entry : originalEntries) {
            entries.add(mapEntry(entry.getKey(), valuesArray[i++]));
          }
    
          return mapGenerator.create(entries.toArray()).values();
        }
    
        @Override
        public V[] createArray(int length) {
          V[] vs =
              ((TestBiMapGenerator<K, V>) mapGenerator.getInnerGenerator()).createValueArray(length);
          return vs;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          } catch (UnsupportedOperationException expected) {
          }
    
          try {
            ((Collection<?>) multimap.asMap().values().toArray()[0]).clear();
            fail("asMap().values().toArray()[0].clear() succeeded on unmodifiable multimap");
          } catch (UnsupportedOperationException expected) {
          }
        }
    
        assertCollectionIsUnmodifiable(multimap.values(), sampleValue);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/PreconditionsTest.java

        for (ImmutableList<Class<?>> sig : allSignatures(boolean.class)) {
          Method checkArgumentMethod =
              Preconditions.class.getMethod("checkArgument", sig.toArray(new Class<?>[] {}));
          checkArgumentMethod.invoke(null /* static method */, getParametersForSignature(true, sig));
    
          Object[] failingParams = getParametersForSignature(false, sig);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top