- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 384 for toArray (0.61 sec)
-
android/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) -
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
int expectedHashCode = 0; for (E element : elements) { expectedHashCode += (element == null) ? 0 : element.hashCode(); } elements.add(null); collection = getSubjectGenerator().create(elements.toArray()); assertEquals( "A Set's hashCode() should be the sum of those of its elements (with " + "a null element counting as having a hash of zero).", expectedHashCode, getSet().hashCode());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0) -
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) -
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) -
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) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
@Override public boolean retainAll(Collection<?> collection) { return standardRetainAll(collection); } @Override public Object[] toArray() { return standardToArray(); } @Override public <T> T[] toArray(T[] array) { return standardToArray(array); } @Override public String toString() { return standardToString(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 11.8K 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) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
return new String[] { Constants.ALL_LANGUAGES }; } langSet.remove(Constants.ALL_LANGUAGES); return langSet.toArray(new String[langSet.size()]); } if (ComponentUtil.getFessConfig().isBrowserLocaleForSearchUsed()) { final Set<String> langSet = new HashSet<>();
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 36.3K bytes - Viewed (0)