- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 9,383 for copyTo (0.15 sec)
-
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
throw new UnsupportedOperationException("duplicate key"); } } return ImmutableBiMap.copyOf(sourceMap); } }, COPY_OF_ENTRIES { @Override public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) { return ImmutableBiMap.copyOf(entries); } }, BUILDER_PUT_ONE_BY_ONE { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java
} @Test public void copyOf_incidentEdgeOrder() { ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build()); assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable()); } @Test public void copyOf_fromUnorderedGraph_incidentEdgeOrder() { ImmutableGraph<Object> graph = ImmutableGraph.copyOf(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jan 09 20:24:43 GMT 2020 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
@Override protected <E extends Comparable<? super E>> Set<E> copyOf(E[] elements) { return ImmutableSet.copyOf(elements); } @Override protected <E extends Comparable<? super E>> Set<E> copyOf(Collection<? extends E> elements) { return ImmutableSet.copyOf(elements); } @Override protected <E extends Comparable<? super E>> Set<E> copyOf(Iterable<? extends E> elements) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
ImmutableMap<String, Integer> copy = ImmutableMap.copyOf(Collections.<String, Integer>emptyMap()); assertEquals(Collections.<String, Integer>emptyMap(), copy); assertSame(copy, ImmutableMap.copyOf(copy)); } public void testCopyOfSingletonMap() { ImmutableMap<String, Integer> copy = ImmutableMap.copyOf(Collections.singletonMap("one", 1)); assertMapEquals(copy, "one", 1);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 13:27:08 GMT 2024 - 41.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java
} @Test public void copyOf_incidentEdgeOrder() { ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build()); assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable()); } @Test public void copyOf_fromUnorderedGraph_incidentEdgeOrder() { ImmutableGraph<Object> graph = ImmutableGraph.copyOf(
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Jan 09 20:24:43 GMT 2020 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
Collection<String> copy = SerializableTester.reserializeAndAssert(c); assertThat(copy).containsExactly("a", "a", "b").inOrder(); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization_elementSet() { Multiset<String> c = ImmutableMultiset.of("a", "b", "a");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 25.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertSame(valueOne, copyOne.getValue()); InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne); assertSame(keyTwo, copyTwo.getKey()); assertEquals(hashTwo, copyTwo.getHash()); assertSame(copyOne, copyTwo.getNext()); assertSame(valueTwo, copyTwo.getValue()); } } public void testSegmentGetAndContains() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 35.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertSame(valueOne, copyOne.getValue()); InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne); assertSame(keyTwo, copyTwo.getKey()); assertEquals(hashTwo, copyTwo.getHash()); assertSame(copyOne, copyTwo.getNext()); assertSame(valueTwo, copyTwo.getValue()); } } public void testSegmentGetAndContains() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 35.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
/** Returns an immutable array containing the given values, in order. */ public static ImmutableIntArray copyOf(int[] values) { return values.length == 0 ? EMPTY : new ImmutableIntArray(Arrays.copyOf(values, values.length)); } /** Returns an immutable array containing the given values, in order. */ public static ImmutableIntArray copyOf(Collection<Integer> values) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 16:34:24 GMT 2023 - 18.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
@Override protected <E extends Comparable<? super E>> Set<E> copyOf(E[] elements) { return ImmutableSet.copyOf(elements); } @Override protected <E extends Comparable<? super E>> Set<E> copyOf(Collection<? extends E> elements) { return ImmutableSet.copyOf(elements); } @Override protected <E extends Comparable<? super E>> Set<E> copyOf(Iterable<? extends E> elements) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.7K bytes - Viewed (0)