- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for copyInto (0.28 sec)
-
guava-tests/test/com/google/common/collect/SetOperationsTest.java
Sets.symmetricDifference(friends, enemies).copyInto(new HashSet<String>()); enemies.add("Dave"); assertEquals(3, symmetricDifferenceFriendsFirst.size()); assertEquals(4, immut.size()); assertEquals(4, mut.size()); immut = Sets.symmetricDifference(enemies, friends).immutableCopy(); mut = Sets.symmetricDifference(enemies, friends).copyInto(new HashSet<String>()); friends.add("Harry");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 14.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetOperationsTest.java
Sets.symmetricDifference(friends, enemies).copyInto(new HashSet<String>()); enemies.add("Dave"); assertEquals(3, symmetricDifferenceFriendsFirst.size()); assertEquals(4, immut.size()); assertEquals(4, mut.size()); immut = Sets.symmetricDifference(enemies, friends).immutableCopy(); mut = Sets.symmetricDifference(enemies, friends).copyInto(new HashSet<String>()); friends.add("Harry");
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 14.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
val keyStore = newEmptyKeyStore(keyStoreType) if (heldCertificate != null) { val chain = arrayOfNulls<Certificate>(1 + intermediates.size) chain[0] = heldCertificate.certificate intermediates.copyInto(chain, 1) keyStore.setKeyEntry("private", heldCertificate.keyPair.private, password, chain) } val factory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm())
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
assertThat(fluent(1, 3, 5).copyInto(Lists.newArrayList(1, 2))) .containsExactly(1, 2, 1, 3, 5) .inOrder(); } public void testCopyInto_Set() { assertThat(fluent(1, 3, 5).copyInto(Sets.newHashSet(1, 2))).containsExactly(1, 2, 3, 5); } public void testCopyInto_SetAllDuplicates() { assertThat(fluent(1, 3, 5).copyInto(Sets.newHashSet(1, 2, 3, 5))).containsExactly(1, 2, 3, 5);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 18:35:19 GMT 2024 - 31.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
assertThat(fluent(1, 3, 5).copyInto(Lists.newArrayList(1, 2))) .containsExactly(1, 2, 1, 3, 5) .inOrder(); } public void testCopyInto_Set() { assertThat(fluent(1, 3, 5).copyInto(Sets.newHashSet(1, 2))).containsExactly(1, 2, 3, 5); } public void testCopyInto_SetAllDuplicates() { assertThat(fluent(1, 3, 5).copyInto(Sets.newHashSet(1, 2, 3, 5))).containsExactly(1, 2, 3, 5);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 06 17:32:08 GMT 2023 - 30.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
// after: { 11, 11, 22, 22, 33, 33, 00, 00, 00, 00, 00, 00, 77, 77, 88, 88 } // if (b != address.size) { if (compress == -1) return null // Address didn't have compression or enough groups. address.copyInto(address, address.size - (b - compress), compress, b) address.fill(0.toByte(), compress, compress + (address.size - b)) } return address }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* stable. There is usually no reason to retain a reference of type {@code SetView}; typically, * you either use it as a plain {@link Set}, or immediately invoke {@link #immutableCopy} or * {@link #copyInto} and forget the {@code SetView} itself. * * @since 2.0 */ public abstract static class SetView<E extends @Nullable Object> extends AbstractSet<E> { private SetView() {} // no subclasses but our own
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 77.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* * @param collection the collection to copy elements to * @return {@code collection}, for convenience * @since 14.0 */ @CanIgnoreReturnValue public final <C extends Collection<? super E>> C copyInto(C collection) { checkNotNull(collection); Iterable<E> iterable = getDelegate(); if (iterable instanceof Collection) { collection.addAll((Collection<E>) iterable); } else {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 35.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* * @param collection the collection to copy elements to * @return {@code collection}, for convenience * @since 14.0 */ @CanIgnoreReturnValue public final <C extends Collection<? super E>> C copyInto(C collection) { checkNotNull(collection); Iterable<E> iterable = getDelegate(); if (iterable instanceof Collection) { collection.addAll((Collection<E>) iterable); } else {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 35.3K bytes - Viewed (0) -
okhttp-android/src/main/baseline-prof.txt
HSPLkotlin/collections/ArraysKt___ArraysKt;->asList([Ljava/lang/Object;)Ljava/util/List; HSPLkotlin/collections/ArraysKt___ArraysKt;->copyInto$default([B[BIIII)[B HSPLkotlin/collections/ArraysKt___ArraysKt;->copyInto([B[BIII)[B HSPLkotlin/collections/ArraysKt___ArraysKt;->copyInto([Ljava/lang/Object;[Ljava/lang/Object;III)[Ljava/lang/Object; HSPLkotlin/collections/ArraysKt___ArraysKt;->fill([Ljava/lang/Object;Ljava/lang/Object;II)V
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Mar 21 11:22:00 GMT 2022 - 127.9K bytes - Viewed (0)