- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,762 for copy (0.2 sec)
-
maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
copy.setMirrors(original.getMirrors()); copy.setProfiles(original.getProfiles()); copy.setPluginGroups(original.getPluginGroups()); copy.setProjectPresent(original.isProjectPresent()); copy.setUserSettingsFile(original.getUserSettingsFile()); copy.setGlobalSettingsFile(original.getGlobalSettingsFile()); copy.setUserToolchainsFile(original.getUserToolchainsFile());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 31K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
TreeMultimap<String, Integer> copy = TreeMultimap.create(tree); assertEquals(tree, copy); assertThat(copy.keySet()).containsExactly("google", "tree").inOrder(); assertThat(copy.get("google")).containsExactly(2, 6).inOrder(); assertEquals(Ordering.natural(), copy.keyComparator()); assertEquals(Ordering.natural(), copy.valueComparator()); assertEquals(Ordering.natural(), copy.get("google").comparator()); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultisetTest.java
public void testSerializationContainingSelf() { Multiset<Multiset<?>> multiset = HashMultiset.create(); multiset.add(multiset, 2); Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset); assertEquals(2, copy.size()); assertSame(copy, copy.iterator().next()); } @J2ktIncompatible @GwtIncompatible // Only used by @GwtIncompatible code
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
Collection<E> siblingCollection = new ArrayList<>(); siblingCollection.add(sampleElement); Collection<E> copy = new ArrayList<>(); // Avoid copy.addAll(collection), which runs afoul of an Android bug in older versions: // http://b.android.com/72073 http://r.android.com/98929 Iterators.addAll(copy, collection.iterator()); try { collection.add(sampleElement);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
ImmutableSortedMap<String, Integer> copy = ImmutableSortedMap.copyOf(Collections.<String, Integer>emptyMap()); assertEquals(Collections.<String, Integer>emptyMap(), copy); assertSame(copy, ImmutableSortedMap.copyOf(copy)); assertSame(Ordering.natural(), copy.comparator()); } public void testCopyOfSingletonMap() { ImmutableSortedMap<String, Integer> copy =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 27K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
public void testInverseSerialization() { BiMapPair<K, V> pair = new BiMapPair<>(getMap()); BiMapPair<K, V> copy = SerializableTester.reserialize(pair); assertEquals(pair.forward, copy.forward); assertEquals(pair.backward, copy.backward); assertSame(copy.backward, copy.forward.inverse()); assertSame(copy.forward, copy.backward.inverse()); } private static class BiMapPair<K, V> implements Serializable {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
public void testInverseSerialization() { BiMapPair<K, V> pair = new BiMapPair<>(getMap()); BiMapPair<K, V> copy = SerializableTester.reserialize(pair); assertEquals(pair.forward, copy.forward); assertEquals(pair.backward, copy.backward); assertSame(copy.backward, copy.forward.inverse()); assertSame(copy.forward, copy.backward.inverse()); } private static class BiMapPair<K, V> implements Serializable {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
ImmutableBiMap<String, Integer> copy = ImmutableBiMap.copyOf(Collections.<String, Integer>emptyMap()); assertEquals(Collections.<String, Integer>emptyMap(), copy); assertSame(copy, ImmutableBiMap.copyOf(copy)); assertSame(ImmutableBiMap.of(), copy); } public void testCopyOfSingletonMap() { ImmutableBiMap<String, Integer> copy =
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 22.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
TreeMultimap<String, Integer> copy = TreeMultimap.create(tree); assertEquals(tree, copy); assertThat(copy.keySet()).containsExactly("google", "tree").inOrder(); assertThat(copy.get("google")).containsExactly(2, 6).inOrder(); assertEquals(Ordering.natural(), copy.keyComparator()); assertEquals(Ordering.natural(), copy.valueComparator()); assertEquals(Ordering.natural(), copy.get("google").comparator()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CopyUtilTest.java
result = copy(outputFile, "UTF-8", writer); assertThat(writer.toString(), is(urlString)); } /** * @throws Exception */ @Test public void testFileToFile_Encoding() throws Exception { int result = copy(inputFile, "UTF-8", outputFile, "Shift_JIS"); assertThat(result, is(urlString.length())); result = copy(outputFile, "Shift_JIS", writer);
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.6K bytes - Viewed (0)