- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 114 for transport (0.21 sec)
-
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) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
final NodeIterator nodeItr = new NodeIterator(index); return new TransformedListIterator<Entry<K, V>, V>(nodeItr) { @Override @ParametricNullness V transform(Entry<K, V> entry) { return entry.getValue(); } @Override public void set(@ParametricNullness V value) { nodeItr.setValue(value); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 27.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
Iterator<Entry<E>> entryIterator) { return new TransformedIterator<Entry<E>, E>(entryIterator) { @Override @ParametricNullness E transform(Entry<E> entry) { return entry.getElement(); } }; } abstract static class ElementSet<E extends @Nullable Object> extends Sets.ImprovedAbstractSet<E> {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
List<Integer> listIteratorOnlyList = new ListIterationOnlyList<>(randomAccessList); List<String> transform = Lists.transform(listIteratorOnlyList, SOME_FUNCTION); assertTrue( Iterables.elementsEqual(transform, Lists.transform(randomAccessList, SOME_FUNCTION))); } private static class ListIterationOnlyList<E> extends ForwardingList<E> {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 35.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java
package com.google.common.util.concurrent; import static com.google.common.util.concurrent.Futures.transform; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import com.google.common.base.Function; import java.lang.reflect.UndeclaredThrowableException; /** * Unit tests for {@link Futures#transform(ListenableFuture, Function, Executor)}. * * @author Nishant Thakkar */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 28 16:27:15 GMT 2018 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTesting.java
assertThat(transformation.inverse().isVertical()).isFalse(); assertThat(transformation.transform(x1)).isWithin(ALLOWED_ERROR).of(y1); assertThat(transformation.transform(x1 + xDelta)).isWithin(ALLOWED_ERROR).of(y1 + yDelta); assertThat(transformation.inverse().transform(y1)).isWithin(ALLOWED_ERROR).of(x1); assertThat(transformation.inverse().transform(y1 + yDelta)) .isWithin(ALLOWED_ERROR) .of(x1 + xDelta);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 23.8K bytes - Viewed (0) -
android/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 May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 10.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
for (Set<?> set : sets) { Set<Optional<?>> optionalSet = Sets.newLinkedHashSet(Iterables.transform(set, NULLABLE_TO_OPTIONAL)); optionalSets.add(optionalSet); } Set<List<Optional<?>>> cartesianProduct = Sets.cartesianProduct(optionalSets); return Iterables.transform( cartesianProduct, new Function<List<Optional<?>>, List<Object>>() { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathTesting.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* asynchronous operations. You can chain them together manually with calls to methods like {@link * Futures#transform(ListenableFuture, com.google.common.base.Function, Executor) Futures.transform} * (or {@link FluentFuture#transform(com.google.common.base.Function, Executor) * FluentFuture.transform}), but you will often find it easier to use a framework. Frameworks
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:13:41 GMT 2023 - 8K bytes - Viewed (0)