- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 6,651 for copyTo (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
return ImmutableSortedSet.copyOf(elements); } } public static class ImmutableSortedSetHeadsetGenerator extends TestStringSortedSetGenerator { @Override protected SortedSet<String> create(String[] elements) { List<String> list = Lists.newArrayList(elements); list.add("zzz"); return ImmutableSortedSet.copyOf(list).headSet("zzy"); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 15.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java
*/ public <REQ extends Request<?>, REP extends Result<REQ>> BatchRequestException( String message, List<RequestResult<REQ, REP>> allResults) { super(message); this.results = List.copyOf(allResults); } /** * Returns the list of results from all requests that were part of the batch operation. * Each result contains the original request, the response (if successful), and any error
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
} if (map.isEmpty()) { return of(); } ImmutableMap<K, V> immutableMap = ImmutableMap.copyOf(map); return new RegularImmutableBiMap<K, V>(immutableMap); } public static <K, V> ImmutableBiMap<K, V> copyOf( Iterable<? extends Entry<? extends K, ? extends V>> entries) { return new Builder<K, V>().putAll(entries).build(); } ImmutableBiMap(Map<K, V> delegate) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
assertThrows(IllegalArgumentException.class, () -> ImmutableRangeSet.copyOf(subset)); } else { RangeSet<Integer> copy = ImmutableRangeSet.copyOf(subset); assertEquals(mutable, copy); } ImmutableRangeSet<Integer> built = builder.build(); assertEquals(mutable, built); assertEquals(ImmutableRangeSet.copyOf(mutable), built); assertEquals(mutable.complement(), built.complement());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 21.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
// Unsafe, see ImmutableSortedMapFauxverideShim. @SuppressWarnings("unchecked") public static <K, V> ImmutableSortedMap<K, V> copyOf(Map<? extends K, ? extends V> map) { return copyOfInternal((Map<K, V>) map, (Ordering<K>) Ordering.natural()); } public static <K, V> ImmutableSortedMap<K, V> copyOf( Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { return copyOfInternal(map, checkNotNull(comparator));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java
* @return edit body containing the entity data */ protected EditBody createEditBody(final JobLog 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 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java
* @return edit body containing the entity data */ protected EditBody createEditBody(final DuplicateHost 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 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
* * @throws NullPointerException if any key, value, or entry is null * @since 19.0 */ public static <K, V> ImmutableMultimap<K, V> copyOf( Iterable<? extends Entry<? extends K, ? extends V>> entries) { return ImmutableListMultimap.copyOf(entries); } final transient ImmutableMap<K, ? extends ImmutableCollection<V>> map; final transient int size;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
*/ assertThat(ImmutableIntArray.copyOf(new int[0])).isSameInstanceAs(ImmutableIntArray.of()); } public void testCopyOf_array_nonempty() { int[] array = new int[] {0, 1, 3}; ImmutableIntArray iia = ImmutableIntArray.copyOf(array); array[2] = 2; assertThat(iia.asList()).containsExactly(0, 1, 3).inOrder(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0)