- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 144 for toArray (0.05 seconds)
-
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
/* * Note: the superclass toArray() methods assume that size() gives a correct * answer, which ours does not. */ @Override public Object[] toArray() { return snapshot().toArray(); } @Override @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations public <T extends @Nullable Object> T[] toArray(T[] array) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java
item.setText(text); item.setReadings(readings.toArray(new String[readings.size()][])); item.setFields(fields.toArray(new String[fields.size()])); item.setDocFreq(docFreq); item.setQueryFreq(queryFreq); item.setUserBoost(userBoost); item.setTags(tags.toArray(new String[tags.size()])); item.setRoles(roles.toArray(new String[roles.size()]));
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
/* * Note: the superclass toArray() methods assume that size() gives a correct * answer, which ours does not. */ @Override public Object[] toArray() { return snapshot().toArray(); } @Override @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations public <T extends @Nullable Object> T[] toArray(T[] array) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* to dump the queue into a newly allocated array of {@code String}: * * <pre> * String[] y = x.toArray(new String[0]);</pre> * * <p>Note that {@code toArray(new Object[0])} is identical in function to {@code toArray()}. * * @param a the array into which the elements of the queue are to be stored, if it is big enough;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 19K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
// Depending on JDK version, either toArray() or toArray(T[]) may be called... use this class // rather than mocking to ensure that one of those methods is called. class TestArrayList<E> extends ArrayList<E> { boolean toArrayCalled = false; @Override public Object[] toArray() { toArrayCalled = true; return super.toArray(); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
@J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation public final Object[] toArray() { return toArray(EMPTY_ARRAY); } @CanIgnoreReturnValue @Override /* * This suppression is here for two reasons: * * 1. b/192354773 in our checker affects toArray declarations. * * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 21.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
.get(stream -> stream.filter(StringUtil::isNotBlank).toArray(n -> new String[n])); } String getSupportedUploadedCssExtentions(); default String[] getSupportedUploadedCssExtentionsAsArray() { return split(getSupportedUploadedCssExtentions(), ",") .get(stream -> stream.filter(StringUtil::isNotBlank).toArray(n -> new String[n])); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 92.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
docMap.put("banana", "value3"); Set<Map.Entry<String, Object>> entrySet = docMap.entrySet(); assertEquals(4, entrySet.size()); String[] keys = entrySet.stream().map(Map.Entry::getKey).toArray(String[]::new); boolean langFirst = "lang".equals(keys[0]); assertTrue("lang should be first or sorted normally", langFirst || Arrays.asList(keys).contains("lang"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
@J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation public final Object[] toArray() { return toArray(EMPTY_ARRAY); } @CanIgnoreReturnValue @Override /* * This suppression is here for two reasons: * * 1. b/192354773 in our checker affects toArray declarations. * * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 18.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java
} @Override public String[] getRoleNames() { return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n])); } @Override public String[] getGroupNames() { return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n])); } private String decode(final String value) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:22:27 GMT 2026 - 4.1K bytes - Click Count (0)