- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for Transform (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/ListsTest.java
List<String> transform = transform(listIteratorOnlyList, SOME_FUNCTION); assertTrue(elementsEqual(transform, transform(randomAccessList, SOME_FUNCTION))); } private static class ListIterationOnlyList<E> extends ForwardingList<E> { private final List<E> realDelegate; private ListIterationOnlyList(List<E> realDelegate) { this.realDelegate = realDelegate; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
List<String> transform = transform(listIteratorOnlyList, SOME_FUNCTION); assertTrue(elementsEqual(transform, transform(randomAccessList, SOME_FUNCTION))); } private static class ListIterationOnlyList<E> extends ForwardingList<E> { private final List<E> realDelegate; private ListIterationOnlyList(List<E> realDelegate) { this.realDelegate = realDelegate; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
Entry<String, String> entry = (Entry<String, String>) o; multimap.put(entry.getKey(), Ascii.toUpperCase(entry.getValue())); } return transform(multimap); } abstract M transform(Multimap<String, String> multimap); @SuppressWarnings("unchecked") @Override public Entry<String, String>[] createArray(int length) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
keys -> path.create(transform(keys, key -> immutableEntry(key, new Object()))), keys -> path.create(transform(keys, key -> immutableEntry(new Object(), key))), keys -> path.create(transform(keys, key -> immutableEntry(key, key))))) .collect(toImmutableList()), n -> n * log(n),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
Entry<String, String> entry = (Entry<String, String>) o; multimap.put(entry.getKey(), Ascii.toUpperCase(entry.getValue())); } return transform(multimap); } abstract M transform(Multimap<String, String> multimap); @SuppressWarnings("unchecked") @Override public Entry<String, String>[] createArray(int length) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
* list is threadsafe if the supplied list and function are. * * <p>If only a {@code Collection} or {@code Iterable} input is available, use {@link * Collections2#transform} or {@link Iterables#transform}. * * <p><b>Note:</b> serializing the returned list is implemented by serializing {@code fromList}, * its contents, and {@code function} -- <i>not</i> by serializing the transformed values. This
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Lists.newArrayListWithExpectedSize; import static com.google.common.collect.Lists.transform; import static java.lang.Math.min; import com.google.common.base.Function; import com.google.common.primitives.Ints; import java.util.List; import java.util.Random; import java.util.concurrent.Callable;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
package com.google.common.collect; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.Iterables.transform; import static com.google.common.collect.Iterators.mergeSorted; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Supplier;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.Lists.transform; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.collect.Multimaps.synchronizedMultimap; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
assertThat(blist).containsExactly(hasBoth).inOrder(); } public void testTransform_iterator() { List<String> input = asList("1", "2", "3"); Iterable<Integer> result = Iterables.transform( input, new Function<String, Integer>() { @Override public Integer apply(String from) { return Integer.valueOf(from); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0)