- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for transport (0.15 sec)
-
guava-tests/test/com/google/common/base/OptionalTest.java
} public void testTransform_absent() { assertEquals(Optional.absent(), Optional.absent().transform(Functions.identity())); assertEquals(Optional.absent(), Optional.absent().transform(Functions.toStringFunction())); } public void testTransform_presentIdentity() { assertEquals(Optional.of("a"), Optional.of("a").transform(Functions.identity())); } public void testTransform_presentToString() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TablesTransposeColumnTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
* Lists#transform}. If only an {@code Iterable} is available, use {@link Iterables#transform}. * * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#map Stream.map}. */ public static <F extends @Nullable Object, T extends @Nullable Object> Collection<T> transform( Collection<F> fromCollection, Function<? super F, T> function) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* <p>If the input {@code Iterable} is known to be a {@code List} or other {@code Collection}, * consider {@link Lists#transform} and {@link Collections2#transform}. * * <p><b>{@code Stream} equivalent:</b> {@link Stream#map} */ public static <F extends @Nullable Object, T extends @Nullable Object> Iterable<T> transform( final Iterable<F> fromIterable, final Function<? super F, ? extends T> function) { checkNotNull(fromIterable);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 42.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
package com.google.common.reflect; 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 java.util.Objects.requireNonNull; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Joiner; import com.google.common.base.Objects;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
Collection<String> input = inputIsSet ? new MutatedOnQuerySet<>(infiniteSetsFromStartIndex) : new MutatedOnQueryList<>( Iterables.transform(infiniteSetsFromStartIndex, ImmutableList::copyOf)); Set<String> immutableCopy; try { immutableCopy = copyOf(input); } catch (RuntimeException e) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
Collection<String> input = inputIsSet ? new MutatedOnQuerySet<>(infiniteSetsFromStartIndex) : new MutatedOnQueryList<>( Iterables.transform(infiniteSetsFromStartIndex, ImmutableList::copyOf)); Set<String> immutableCopy; try { immutableCopy = copyOf(input); } catch (RuntimeException e) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TableCollectionTest.java
@Override Table<String, Integer, Character> createTable() { Table<Integer, String, Character> original = TreeBasedTable.create(); return Tables.transpose(original); } }) .named("TransposedTable.cellSet") .withFeatures( CollectionSize.ANY, CollectionFeature.REMOVE_OPERATIONS,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 35.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
public String transformEntry(String key, String value) { return DECODE_FUNCTION.apply(value); } }; static TestSuite transformSuite() { TestSuite suite = new TestSuite("Maps.transform"); suite.addTest(transformMapSuite()); suite.addTest(transformSortedMapSuite()); suite.addTest(transformNavigableMapSuite()); return suite; } static TestSuite transformMapSuite() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 32.2K bytes - Viewed (0)