Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

         */
        public static BigInteger toBigInteger(final Object o) {
            return toBigInteger(o, null);
        }
    
        /**
         * Converts to {@link BigInteger}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link BigInteger}
         */
        public static BigInteger toBigInteger(final Object o, final String pattern) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/BigIntegerConversionUtilTest.java

    public class BigIntegerConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToBigIntegerForEmptyString() throws Exception {
            assertNull(BigIntegerConversionUtil.toBigInteger(""));
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 960 bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      private static final BigDecimal MIN_LONG_AS_BIG_DECIMAL = BigDecimal.valueOf(Long.MIN_VALUE);
    
      public void testConstantsMaxFactorial() {
        BigInteger maxDoubleValue = BigDecimal.valueOf(Double.MAX_VALUE).toBigInteger();
        assertThat(BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL)).isAtMost(maxDoubleValue);
        assertThat(BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL + 1))
            .isGreaterThan(maxDoubleValue);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 14:15:36 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/DoubleMathTest.java

      private static final BigDecimal MIN_LONG_AS_BIG_DECIMAL = BigDecimal.valueOf(Long.MIN_VALUE);
    
      public void testConstantsMaxFactorial() {
        BigInteger maxDoubleValue = BigDecimal.valueOf(Double.MAX_VALUE).toBigInteger();
        assertThat(BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL)).isAtMost(maxDoubleValue);
        assertThat(BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL + 1))
            .isGreaterThan(maxDoubleValue);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 14:15:36 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

            } else if (type == Short.class) {
                return ShortConversionUtil.toShort(o);
            } else if (type == BigInteger.class) {
                return BigIntegerConversionUtil.toBigInteger(o);
            } else if (type == Byte.class) {
                return ByteConversionUtil.toByte(o);
            }
            return o;
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/InetAddresses.java

       *
       * @param address {@link InetAddress} to convert
       * @return {@code BigInteger} representation of the address
       * @since 28.2
       */
      public static BigInteger toBigInteger(InetAddress address) {
        return new BigInteger(1, address.getAddress());
      }
    
      /**
       * Returns an Inet4Address having the integer value specified by the argument.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * @param address {@link InetAddress} to convert
       * @return {@code BigInteger} representation of the address
       * @since 28.2
       */
      public static BigInteger toBigInteger(InetAddress address) {
        return new BigInteger(1, address.getAddress());
      }
    
      /**
       * Returns an Inet4Address having the integer value specified by the argument.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top