- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 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/ImmutableMapFloodingTest.java
return ImmutableMap.copyOf(sourceMap); } }, COPY_OF_ENTRIES { @Override public Map<Object, Object> create(List<?> keys) { return ImmutableMap.copyOf( Lists.transform(keys, k -> Maps.immutableEntry(k, "dummy value"))); } }, BUILDER_PUT_ONE_BY_ONE { @Override public Map<Object, Object> create(List<?> keys) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 3.4K 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-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
assertThat(f.get()).isEqualTo(CustomRuntimeException.class); } public void testTransform() throws Exception { FluentFuture<Integer> f = FluentFuture.from(immediateFuture(1)) .transform( new Function<Integer, Integer>() { @Override public Integer apply(Integer input) { return input + 1; } },
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 5.7K 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)