Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 94 of 94 for NumberFormatException (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

                  @Override
                  public Integer apply(String from) {
                    return Integer.valueOf(from);
                  }
                });
    
        result.next();
        assertThrows(NumberFormatException.class, () -> result.next());
      }
    
      public void testNullFriendlyTransform() {
        Iterator<Integer> input = asList(1, 2, null, 3).iterator();
        Iterator<String> result =
            Iterators.transform(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

            val portString = input.canonicalize(pos = pos, limit = limit, encodeSet = "")
            val i = portString.toInt()
            if (i in 1..65535) i else -1
          } catch (_: NumberFormatException) {
            -1 // Invalid port.
          }
        }
      }
    
      companion object {
        /** Returns 80 if `scheme.equals("http")`, 443 if `scheme.equals("https")` and -1 otherwise. */
        @JvmStatic
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                                "Invalid threads value: '" + threadConfiguration + "'. Value must be positive.");
                    }
                    return threads;
                }
            } catch (NumberFormatException e) {
                throw new IllegalArgumentException("Invalid threads value: '" + threadConfiguration
                        + "'. Supported are int and float values ending with C.");
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    }
                    try {
                        searchRequestBuilder.setTrackTotalHitsUpTo(Integer.parseInt(trackTotalHits));
                        return;
                    } catch (final NumberFormatException e) {
                        // ignore
                    }
                }
                final Object trackTotalHitsValue = fessConfig.getQueryTrackTotalHitsValue();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top