Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for doubleValue (0.04 sec)

  1. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Double) {
                return (Double) o;
            } else if (o instanceof Number) {
                return Double.valueOf(((Number) o).doubleValue());
            } else if (o instanceof String) {
                return toDouble((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

      }
    
      public void testDoubleValue() {
        for (int value : TEST_INTS) {
          UnsignedInteger unsignedValue = UnsignedInteger.fromIntBits(value);
          assertThat(unsignedValue.doubleValue())
              .isEqualTo(unsignedValue.bigIntegerValue().doubleValue());
        }
      }
    
      public void testPlus() {
        for (int a : TEST_INTS) {
          for (int b : TEST_INTS) {
            UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LongAdder.java

      @Override
      public float floatValue() {
        return (float) sum();
      }
    
      /** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */
      @Override
      public double doubleValue() {
        return (double) sum();
      }
    
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
        s.writeLong(sum());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        for (int i = 0, n = 0; n <= DoubleMath.MAX_FACTORIAL; i++, n += 16) {
          assertThat(DoubleMath.everySixteenthFactorial[i])
              .isEqualTo(BigIntegerMath.factorial(n).doubleValue());
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToInt(double, RoundingMode)
      public void testRoundIntegralDoubleToInt() {
        for (double d : INTEGRAL_DOUBLE_CANDIDATES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/MathTesting.java

            Iterables.filter(
                FINITE_DOUBLE_CANDIDATES,
                new Predicate<Double>() {
                  @Override
                  public boolean apply(Double input) {
                    return input.doubleValue() > 0.0;
                  }
                });
        DOUBLE_CANDIDATES_EXCEPT_NAN = Iterables.concat(FINITE_DOUBLE_CANDIDATES, INFINITIES);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedInteger.java

       * Returns the value of this {@code UnsignedInteger} as a {@code double}, analogous to a widening
       * primitive conversion from {@code int} to {@code double}, and correctly rounded.
       */
      @Override
      public double doubleValue() {
        return longValue();
      }
    
      /** Returns the value of this {@code UnsignedInteger} as a {@link BigInteger}. */
      public BigInteger bigIntegerValue() {
        return BigInteger.valueOf(longValue());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            } else if (value instanceof Long || value instanceof Integer) {
                buf.append(((Number) value).longValue());
            } else if (value instanceof Number) {
                buf.append(((Number) value).doubleValue());
            } else {
                buf.append('"').append(StringEscapeUtils.escapeJson(value.toString())).append('"');
            }
            return buf;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Doubles.java

        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code double}
       * value in the manner of {@link Number#doubleValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                    }
                } else if (doubleFieldSet.contains(key)) {
                    if (value instanceof final Number num) {
                        value = num.doubleValue();
                    } else {
                        value = DfTypeUtil.toDouble(value.toString());
                    }
                }
                return new Pair<>(key, value);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
Back to top