- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 282 for copyFor (0.06 sec)
-
android/guava/src/com/google/common/io/ByteSource.java
return concat(ImmutableList.copyOf(sources)); } /** * Returns a view of the given byte array as a {@link ByteSource}. To view only a specific range * in the array, use {@code ByteSource.wrap(b).slice(offset, length)}. * * <p>Note that the given byte array may be passed directly to methods on, for example, {@code * OutputStream} (when {@code copyTo(OutputStream)} is called on the resulting {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 20:55:20 UTC 2025 - 25.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java
* @return the converted EditBody */ protected EditBody createEditBody(final LabelType entity) { final EditBody body = new EditBody(); copyBeanToBean(entity, body, copyOp -> { copyOp.excludeNull(); copyOp.exclude(Constants.PERMISSIONS); }); final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
assertEquals(Collections.<String>emptySet(), copyOf(c)); assertSame(c, copyOf(c)); } public void testCopyOf_shortcut_singleton() { Collection<String> c = of("a"); assertEquals(singleton("a"), copyOf(c)); assertSame(c, copyOf(c)); } public void testCopyOf_shortcut_sameType() { Collection<String> c = of("a", "b", "c"); assertSame(c, copyOf(c)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java
* @return the converted EditBody */ protected EditBody createEditBody(final Role entity) { final EditBody body = new EditBody(); copyBeanToBean(entity, body, copyOp -> { copyOp.excludeNull(); }); return body; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java
* @return the converted EditBody */ protected EditBody createEditBody(final KeyMatch entity) { final EditBody body = new EditBody(); copyBeanToBean(entity, body, copyOp -> { copyOp.excludeNull(); }); return body; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
String[] array = new String[0]; Multiset<String> multiset = ImmutableMultiset.copyOf(array); assertTrue(multiset.isEmpty()); } public void testCreation_arrayOfOneElement() { String[] array = new String[] {"a"}; Multiset<String> multiset = ImmutableMultiset.copyOf(array); assertEquals(HashMultiset.create(asList("a")), multiset); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* @deprecated Prefer {@code asCharSource(from, charset).copyTo(to)}. */ @Deprecated @InlineMe( replacement = "Files.asCharSource(from, charset).copyTo(to)", imports = "com.google.common.io.Files") public static void copy(File from, Charset charset, Appendable to) throws IOException { asCharSource(from, charset).copyTo(to); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
return copyOf(elements); } public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) { checkNotNull(elements); // for GWT return (elements instanceof Collection) ? copyOf((Collection<? extends E>) elements) : copyOf(elements.iterator()); } public static <E> ImmutableList<E> copyOf(Iterator<? extends E> elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
* each immutable-collection class. This ensures, for example, that a call written "{@code * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}. * * @author Chris Povirk */ @NullUnmarked public class FauxveridesTest extends TestCase { public void testImmutableBiMap() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testCopyOf_arrayContainingOnlyNull() { @Nullable String[] array = new @Nullable String[] {null}; assertThrows(NullPointerException.class, () -> ImmutableList.copyOf((String[]) array)); } public void testCopyOf_collection_empty() { Collection<String> c = MinimalCollection.of(); List<String> list = ImmutableList.copyOf(c);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0)