Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 348 for toArray (0.03 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSortedSet.java

        super(delegate);
        this.isSubset = isSubset;
      }
    
      @Override
      ImmutableList<E> createAsList() {
        return new ImmutableSortedAsList<>(this, ImmutableList.asImmutableList(toArray()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 22:23:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        ImmutableDoubleArray trimmed = iia.trimmed();
        assertThat(trimmed).isNotSameInstanceAs(iia);
    
        // Yes, this is apparently how you check array equality in Truth
        assertThat(trimmed.toArray()).isEqualTo(iia.toArray());
      }
    
      private static void assertDoesntActuallyTrim(ImmutableDoubleArray iia) {
        assertThat(iia.trimmed()).isSameInstanceAs(iia);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                                            .get(stream -> stream.map(v -> parseSearchHit(fessConfig, hlPrefix, v)).toArray(n -> new Map[n])));
                                }
                            }
                        }
                    }
    
                    builder.addDocument(docMap);
                }
    
                // facet
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableTable.java

        static SerializedForm create(
            ImmutableTable<?, ?, ?> table, int[] cellRowIndices, int[] cellColumnIndices) {
          return new SerializedForm(
              table.rowKeySet().toArray(),
              table.columnKeySet().toArray(),
              table.values().toArray(),
              cellRowIndices,
              cellColumnIndices);
        }
    
        Object readResolve() {
          if (cellValues.length == 0) {
            return of();
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsDataConfigCB.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
    - 7.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

        interfaceClasses.add(Serializable.class);
        Object dummy =
            Proxy.newProxyInstance(
                interfaceClasses.iterator().next().getClassLoader(),
                interfaceClasses.toArray(new Class<?>[interfaceClasses.size()]),
                new DummyHandler(interfaceType));
        @SuppressWarnings("unchecked") // interfaceType is T
        T result = (T) dummy;
        return result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsCrawlingInfoParamCB.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
    - 6.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

       */
      @SuppressWarnings("unchecked") // Es come in, Es go out
      public static <E extends @Nullable Object> MinimalIterable<E> from(Collection<E> elements) {
        return (MinimalIterable) of(elements.toArray());
      }
    
      private @Nullable Iterator<E> iterator;
    
      private MinimalIterable(Iterator<E> iterator) {
        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      @GwtIncompatible // Iterables.toArray(Iterable, Class)
      public void testToArrayEmpty() {
        Iterable<String> iterable = emptyList();
        String[] array = Iterables.toArray(iterable, String.class);
        assertTrue(Arrays.equals(new String[0], array));
      }
    
      @GwtIncompatible // Iterables.toArray(Iterable, Class)
      public void testToArraySingleton() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/GeoInfo.java

                    list.forEach(boolQuery::should);
                    return boolQuery;
                }
                return null;
            }).filter(q -> q != null).toArray(n -> new QueryBuilder[n]);
    
            if (queryBuilders.length == 1) {
                builder = queryBuilders[0];
            } else if (queryBuilders.length > 1) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top