Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for function (0.41 sec)

  1. android/guava/src/com/google/common/base/Function.java

     * java.util.function.Function java.util.function.Function}.
     *
     * <p>The {@link Functions} class provides common functions and related utilities.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * <h3>For Java 8+ users</h3>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/FunctionalEquivalence.java

          Function<? super F, ? extends @Nullable T> function, Equivalence<T> resultEquivalence) {
        this.function = checkNotNull(function);
        this.resultEquivalence = checkNotNull(resultEquivalence);
      }
    
      @Override
      protected boolean doEquivalent(F a, F b) {
        return resultEquivalence.equivalent(function.apply(a), function.apply(b));
      }
    
      @Override
      protected int doHash(F a) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon May 01 19:48:29 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TableCollectors.java

              V,
              I extends Table<R, C, V>>
          Collector<T, ?, I> toTable(
              java.util.function.Function<? super T, ? extends R> rowFunction,
              java.util.function.Function<? super T, ? extends C> columnFunction,
              java.util.function.Function<? super T, ? extends V> valueFunction,
              java.util.function.Supplier<I> tableSupplier) {
        return TableCollectors.<T, R, C, V, I>toTable(
            rowFunction,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Supplier.java

    /**
     * Legacy version of {@link java.util.function.Supplier java.util.function.Supplier}. Semantically,
     * this could be a factory, generator, builder, closure, or something else entirely. No guarantees
     * are implied by this interface.
     *
     * <p>The {@link Suppliers} class provides common suppliers and related utilities.
     *
     * <p>As this interface extends {@code java.util.function.Supplier}, an instance of this type can be
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Oct 20 14:12:57 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheLoader.java

      }
    
      /**
       * Returns a cache loader that uses {@code function} to load keys, without supporting either
       * reloading or bulk loading. This allows creating a cache loader using a lambda expression.
       *
       * <p>The returned object is serializable if {@code function} is serializable.
       *
       * @param function the function to be used for loading values; must never return {@code null}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

      private static <T> void testSuccessfulForwarding(
          Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) {
        new InteractionTester<T>(interfaceType, method).testInteraction(wrapperFunction);
      }
    
      private static <T> void testExceptionPropagation(
          Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) {
        RuntimeException exception = new RuntimeException();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Predicate.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Determines a true or false value for a given input; a pre-Java-8 version of {@link
     * java.util.function.Predicate java.util.function.Predicate}.
     *
     * <p>The {@link Predicates} class provides common predicates and related utilities.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

       * #set(Object)}.
       */
      private static final class CatchingFuture<V extends @Nullable Object, X extends Throwable>
          extends AbstractCatchingFuture<V, X, Function<? super X, ? extends V>, V> {
        CatchingFuture(
            ListenableFuture<? extends V> input,
            Class<X> exceptionType,
            Function<? super X, ? extends V> fallback) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. android/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
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. android/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
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top