Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for person (0.19 sec)

  1. android/guava/src/com/google/common/reflect/Invokable.java

      }
    
      /**
       * Explicitly specifies the return type of this {@code Invokable}. For example:
       *
       * <pre>{@code
       * Method factoryMethod = Person.class.getMethod("create");
       * Invokable<?, Person> factory = Invokable.of(getNameMethod).returning(Person.class);
       * }</pre>
       */
      public final <R1 extends R> Invokable<T, R1> returning(Class<R1> returnType) {
        return returning(TypeToken.of(returnType));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Equivalence.java

       * b)} is true if and only if {@code equivalence.equivalent(function.apply(a), function.apply(b))}
       * is true.
       *
       * <p>For example:
       *
       * <pre>{@code
       * Equivalence<Person> SAME_AGE = Equivalence.equals().onResultOf(GET_PERSON_AGE);
       * }</pre>
       *
       * <p>{@code function} will never be invoked with a null value.
       *
       * <p>Note that {@code function} must be consistent according to {@code this} equivalence
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Equivalence.java

       * b)} is true if and only if {@code equivalence.equivalent(function.apply(a), function.apply(b))}
       * is true.
       *
       * <p>For example:
       *
       * <pre>{@code
       * Equivalence<Person> SAME_AGE = Equivalence.equals().onResultOf(GET_PERSON_AGE);
       * }</pre>
       *
       * <p>{@code function} will never be invoked with a null value.
       *
       * <p>Note that {@code function} must be consistent according to {@code this} equivalence
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Funnel.java

     *
     * <pre>{@code
     * public enum PersonFunnel implements Funnel<Person> {
     *   INSTANCE;
     *   public void funnel(Person person, PrimitiveSink into) {
     *     into.putUnencodedChars(person.getFirstName())
     *         .putUnencodedChars(person.getLastName())
     *         .putInt(person.getAge());
     *   }
     * }
     * }</pre>
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

        checkState(count() > 1);
        return sumOfProductsOfDeltas / (count() - 1);
      }
    
      /**
       * Returns the <a href="http://mathworld.wolfram.com/CorrelationCoefficient.html">Pearson's or
       * product-moment correlation coefficient</a> of the values. The count must greater than one, and
       * the {@code x} and {@code y} values must both have non-zero population variance (i.e. {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java

          }
        }
    
        @Override
        public ListenableScheduledFuture<?> scheduleAtFixedRate(
            Runnable command, long initialDelay, long period, TimeUnit unit) {
          recordedCommand = command;
          recordedDelay = initialDelay;
          recordedInterval = period;
          recordedTimeUnit = unit;
          return ImmediateScheduledFuture.of("scheduleAtFixedRate");
        }
    
        @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 17 20:45:59 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        @Override
        public ScheduledFuture<?> scheduleAtFixedRate(
            Runnable command, long initialDelay, long period, TimeUnit unit) {
          assertThat(command).isInstanceOf(WrappedRunnable.class);
          lastMethodCalled = "scheduleAtFixedRate";
          lastInitialDelay = initialDelay;
          lastDelay = period;
          lastUnit = unit;
          return null;
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `You're wrong about the crumbs,' said the Mock Turtle:
    `crumbs would all wash off in the sea.  But they HAVE their tails
    in their mouths; and the reason is--' here the Mock Turtle
    yawned and shut his eyes.--`Tell her about the reason and all
    that,' he said to the Gryphon.
    
      `The reason is,' said the Gryphon, `that they WOULD go with
    the lobsters to the dance.  So they got thrown out to sea.  So
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/PairedStatsTest.java

          if (values.hasAnyNonFinite()) {
            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
          } else {
            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

          if (values.hasAnyNonFinite()) {
            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
          } else {
            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
Back to top