- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 380 for ToArray (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
List<E> setContents = new ArrayList<>(); for (E e : contents) { if (!setContents.contains(e)) { setContents.add(e); } } return new MinimalSet<>(type, setContents.toArray(emptyArrayForContents)); } private MinimalSet(Class<? super @NonNull E> type, E... contents) { super(type, true, contents); } /* * equals() and hashCode() are more specific in the Set contract.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java
.toArray(n -> new String[n]))); entity.setPermissions(encodePermissions(form.permissions)); entity.setVirtualHosts(split(form.virtualHosts, "\n") .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().map(String::trim).toArray(n -> new String[n]))); return entity; }); } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 19.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
} @Override public @Nullable Object[] toArray() { if (needsAllocArrays()) { return new Object[0]; } Set<E> delegate = delegateOrNull(); return (delegate != null) ? delegate.toArray() : Arrays.copyOf(requireElements(), size); } @CanIgnoreReturnValue @Override @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 24.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CleanArgument.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 28 12:11:25 UTC 2025 - 3.4K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
public static <T extends @Nullable Object> T[] toArray( Iterable<? extends T> iterable, Class<@NonNull T> type) { return toArray(iterable, ObjectArrays.newArray(type, 0)); } static <T extends @Nullable Object> T[] toArray(Iterable<? extends T> iterable, T[] array) { Collection<? extends T> collection = castOrCopyToCollection(iterable); return collection.toArray(array); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 43.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellParser.java
public class ShellParser extends BaseParser { @Override protected Options parseCliOptions(LocalContext context) { try { return CommonsCliShellOptions.parse(context.parserRequest.args().toArray(new String[0])); } catch (ParseException e) { throw new IllegalArgumentException("Failed to parse command line options: " + e.getMessage(), e); } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 1.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
return copyOf(Arrays.asList(elements)); } private static <E> ImmutableList<E> copyFromCollection(Collection<? extends E> collection) { Object[] elements = collection.toArray(); switch (elements.length) { case 0: return of(); case 1: @SuppressWarnings("unchecked") // safe because it came from `collection` E element = (E) elements[0];
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/cbean/bs/BsRoleCB.java
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); } if (_specification != null) { builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null); } return builder; } // ===================================================================================
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 6.3K bytes - Viewed (0)