Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tryParse (0.07 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

       *     a length of zero or cannot be parsed as an integer value
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 11.0
       */
      @CheckForNull
      public static Integer tryParse(String string) {
        return tryParse(string, 10);
      }
    
      /**
       * Parses the specified string as a signed integer value using the specified radix. The ASCII
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Longs.java

       *     length of zero or cannot be parsed as a long value
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 14.0
       */
      @CheckForNull
      public static Long tryParse(String string) {
        return tryParse(string, 10);
      }
    
      /**
       * Parses the specified string as a signed long value using the specified radix. The ASCII
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Doubles.java

       * @throws NullPointerException if {@code string} is {@code null}
       * @since 14.0
       */
      @GwtIncompatible // regular expressions
      @CheckForNull
      public static Double tryParse(String string) {
        if (FLOATING_POINT_PATTERN.matcher(string).matches()) {
          // TODO(lowasser): could be potentially optimized, but only with
          // extensive testing
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top