- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 420 for copyTo0 (0.06 seconds)
-
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
for (int i = 0; i < 3; i++) { assertEquals(i + 1, list.get(i).intValue()); } assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator())); assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.toArray(new Integer[0]))); } @J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 19.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Resources.java
* @param from the URL to read from * @param to the output stream * @throws IOException if an I/O error occurs */ public static void copy(URL from, OutputStream to) throws IOException { asByteSource(from).copyTo(to); } /** * Returns a {@code URL} pointing to {@code resourceName} if the resource is found using the * {@linkplain Thread#getContextClassLoader() context class loader}. In simple environments, the
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
public void addEdge_existingEdgeBetweenSameNodes() { assume().that(graphIsMutable()).isTrue(); assertThat(networkAsMutableNetwork.addEdge(N1, N2, E12)).isTrue(); ImmutableSet<String> edges = ImmutableSet.copyOf(network.edges()); assertThat(networkAsMutableNetwork.addEdge(N1, N2, E12)).isFalse(); assertThat(network.edges()).containsExactlyElementsIn(edges); assertThat(networkAsMutableNetwork.addEdge(N2, N1, E12)).isFalse();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 18.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
// TODO(cpovirk): should we reject null items, since the tests already check null automatically? @CanIgnoreReturnValue public RelationshipTester<T> addRelatedGroup(Iterable<? extends T> group) { groups.add(ImmutableList.copyOf(group)); return this; } public void test() { for (int groupNumber = 0; groupNumber < groups.size(); groupNumber++) { ImmutableList<T> group = groups.get(groupNumber);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardMutableNetwork.java
return false; } // Since views are returned, we need to copy the edges that will be removed. // Thus we avoid modifying the underlying view while iterating over it. for (E edge : ImmutableList.copyOf(connections.incidentEdges())) { removeEdge(edge); } nodeConnections.remove(node); return true; } @Override @CanIgnoreReturnValue public boolean removeEdge(E edge) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
op.setup(form -> { kuromojiService.getKuromojiItem(dictId, id).ifPresent(entity -> { copyBeanToBean(entity, form, copyOp -> { copyOp.excludeNull(); }); form.crudMode = crudMode; }).orElse(() -> {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 21.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
MutableValueGraph<Integer, String> graph; @After public void validateGraphState() { assertStronglyEquivalent(graph, Graphs.copyOf(graph)); assertStronglyEquivalent(graph, ImmutableValueGraph.copyOf(graph)); Graph<Integer> asGraph = graph.asGraph(); AbstractGraphTest.validateGraph(asGraph); assertThat(graph.nodes()).isEqualTo(asGraph.nodes());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 17.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Collections2.java
} @Override protected @Nullable List<E> computeNext() { if (nextPermutation == null) { return endOfData(); } ImmutableList<E> next = ImmutableList.copyOf(nextPermutation); calculateNextPermutation(); return next; } void calculateNextPermutation() { int j = findNextJ(); if (j == -1) { nextPermutation = null;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 23K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
} @Test public void addEdge_existingEdgeBetweenSameNodes() { assume().that(graphIsMutable()).isTrue(); addEdge(N1, N2, E12); ImmutableSet<String> edges = ImmutableSet.copyOf(network.edges()); assertThat(networkAsMutableNetwork.addEdge(N1, N2, E12)).isFalse(); assertThat(network.edges()).containsExactlyElementsIn(edges); } @Test
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 21.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableTableTest.java
assertThrows(NullPointerException.class, () -> builder.put('a', 1, null)); } private static <R, C, V> void validateTableCopies(Table<R, C, V> original) { Table<R, C, V> copy = ImmutableTable.copyOf(original); assertEquals(original, copy); validateViewOrdering(original, copy); Table<R, C, V> built = ImmutableTable.<R, C, V>builder().putAll(original).buildOrThrow(); assertEquals(original, built);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.6K bytes - Click Count (0)