Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for PairedStats (0.06 sec)

  1. guava/src/com/google/common/math/PairedStats.java

       */
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == null) {
          return false;
        }
        if (getClass() != obj.getClass()) {
          return false;
        }
        PairedStats other = (PairedStats) obj;
        return xStats.equals(other.xStats)
            && yStats.equals(other.yStats)
            && doubleToLongBits(sumOfProductsOfDeltas) == doubleToLongBits(other.sumOfProductsOfDeltas);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/PairedStats.java

       */
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == null) {
          return false;
        }
        if (getClass() != obj.getClass()) {
          return false;
        }
        PairedStats other = (PairedStats) obj;
        return xStats.equals(other.xStats)
            && yStats.equals(other.yStats)
            && doubleToLongBits(sumOfProductsOfDeltas) == doubleToLongBits(other.sumOfProductsOfDeltas);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/PairedStatsTest.java

            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, OTHER_MANY_VALUES_STATS, 1.23),
                new PairedStats(MANY_VALUES_STATS_VARARGS, OTHER_MANY_VALUES_STATS, 1.23))
            .addEqualityGroup(
                new PairedStats(OTHER_MANY_VALUES_STATS, MANY_VALUES_STATS_ITERABLE, 1.23))
            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, MANY_VALUES_STATS_ITERABLE, 1.23))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

     * {@link PairedStatsAccumulator#add}, and various error cases of that method. For tests of the
     * {@link PairedStatsAccumulator#snapshot} method which returns {@link PairedStats} instances, see
     * {@link PairedStatsTest}.
     *
     * @author Pete Gillin
     */
    public class PairedStatsAccumulatorTest extends TestCase {
    
      private PairedStatsAccumulator emptyAccumulator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/PairedStatsAccumulator.java

                      * values.count();
        }
        yStats.addAll(values.yStats());
      }
    
      /** Returns an immutable snapshot of the current statistics. */
      public PairedStats snapshot() {
        return new PairedStats(xStats.snapshot(), yStats.snapshot(), sumOfProductsOfDeltas);
      }
    
      /** Returns the number of pairs in the dataset. */
      public long count() {
        return xStats.count();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

     * {@link PairedStatsAccumulator#add}, and various error cases of that method. For tests of the
     * {@link PairedStatsAccumulator#snapshot} method which returns {@link PairedStats} instances, see
     * {@link PairedStatsTest}.
     *
     * @author Pete Gillin
     */
    public class PairedStatsAccumulatorTest extends TestCase {
    
      private PairedStatsAccumulator emptyAccumulator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

                      * values.count();
        }
        yStats.addAll(values.yStats());
      }
    
      /** Returns an immutable snapshot of the current statistics. */
      public PairedStats snapshot() {
        return new PairedStats(xStats.snapshot(), yStats.snapshot(), sumOfProductsOfDeltas);
      }
    
      /** Returns the number of pairs in the dataset. */
      public long count() {
        return xStats.count();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top