Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 324 for function (0.15 sec)

  1. guava/src/com/google/common/collect/HashBiMap.java

        }
      }
    
      @Override
      public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) {
        checkNotNull(function);
        BiEntry<K, V> oldFirst = firstInKeyInsertionOrder;
        clear();
        for (BiEntry<K, V> entry = oldFirst; entry != null; entry = entry.nextInKeyInsertionOrder) {
          put(entry.key, function.apply(entry.key, entry.value));
        }
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableRangeMap.java

    import java.io.Serializable;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.function.BiFunction;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.ScheduledExecutorService;
    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)
  4. guava-tests/test/com/google/common/collect/ForwardingDequeTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.base.Function;
    import com.google.common.testing.ForwardingWrapperTester;
    import java.util.Deque;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code ForwardingDeque}.
     *
     * @author Kurt Alfred Kluever
     */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.base.Function;
    import com.google.common.testing.ForwardingWrapperTester;
    import java.util.ListIterator;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code ForwardingListIterator}.
     *
     * @author Robert Konigsberg
     */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/ConverterTest.java

        assertSame(Converter.identity(), Converter.identity());
      }
    
      public void testFrom() {
        Function<String, Integer> forward =
            new Function<String, Integer>() {
              @Override
              public Integer apply(String input) {
                return Integer.parseInt(input);
              }
            };
        Function<Object, String> backward = toStringFunction();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/LoadingCache.java

      /**
       * @deprecated Provided to satisfy the {@code Function} interface; use {@link #get} or {@link
       *     #getUnchecked} instead.
       * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As
       *     described in the documentation for {@link #getUnchecked}, {@code LoadingCache} should be
       *     used as a {@code Function} only with cache loaders that throw only unchecked exceptions.)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableMap(keyFunction, valueFunction);
      }
    
      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableMap<K, V>> toImmutableMap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                .withFeatures(COLLECTION_FEATURES_REMOVE_ORDER)
                .withFeatures(CollectionFeature.SUPPORTS_ITERATOR_REMOVE)
                .createTestSuite());
    
        final Function<String, String> removeFirstCharacter =
            new Function<String, String>() {
              @Override
              public String apply(String input) {
                return input.substring(1);
              }
            };
    
        suite.addTest(
    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)
  10. guava-tests/test/com/google/common/collect/ForwardingSortedSetMultimapTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.base.Function;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.ForwardingWrapperTester;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link ForwardingSortedSetMultimap}.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top