Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for parseLong (0.19 sec)

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

      }
    
      /**
       * Parses the specified string as a signed decimal long value. The ASCII character {@code '-'} (
       * <code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Long#parseLong(String)}, this method returns {@code null} instead of throwing
       * an exception if parsing fails. Additionally, this method only accepts ASCII digits, and returns
       * {@code null} if non-ASCII digits are present in the string.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

        protected Long getDefaultLong(final String key, final Long defaultValue) {
            final String value = systemProperties.getProperty(key);
            if (value != null) {
                try {
                    return Long.parseLong(value);
                } catch (final NumberFormatException e) {}
            }
            return defaultValue;
        }
    
        protected String getDefaultString(final String key, final String defaultValue) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            if (props != null) {
                String rawVal = props.getProperty(key);
                if (rawVal != null) {
                    try {
                        return new Date(Long.parseLong(rawVal));
                    } catch (NumberFormatException e) {
                        getLogger().debug("Cannot parse lastUpdated date: '" + rawVal + "'. Ignoring.", e);
                    }
                }
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code long}
       *     value
       * @throws NullPointerException if {@code string} is null (in contrast to {@link
       *     Long#parseLong(String)})
       */
      @CanIgnoreReturnValue
      public static long parseUnsignedLong(String string) {
        return parseUnsignedLong(string, 10);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                final String[] values = rolesStr.split(valueSeparator);
                if (maxAge > 0) {
                    try {
                        final long time = getCurrentTime() / 1000 - Long.parseLong(values[0]);
                        if (time > maxAge || time < 0) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("role info is expired: {} > {}", time, maxAge);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                final List<EsAccessResult> arList) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final long maxDocumentRequestSize = Long.parseLong(fessConfig.getIndexerWebfsMaxDocumentRequestSize());
            for (final EsAccessResult accessResult : arList) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Indexing {}", accessResult.getUrl());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                return 1L;
            }
            if (Constants.TRUE.equalsIgnoreCase(recursive.toString())) {
                return -1L;
            }
            try {
                return Long.parseLong(recursive.toString());
            } catch (final NumberFormatException e) {
                return 1L;
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *     Integer#parseInt(String)})
       */
      @CanIgnoreReturnValue
      public static int parseUnsignedInt(String string, int radix) {
        checkNotNull(string);
        long result = Long.parseLong(string, radix);
        if ((result & INT_MASK) != result) {
          throw new NumberFormatException(
              "Input " + string + " in base " + radix + " is not in the range of an unsigned integer");
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                            try {
                                if (Constants.MAPPING_TYPE_LONG.equalsIgnoreCase(mapping.getValue2())) {
                                    dataMap.put(mapping.getValue1(), Long.parseLong(values[0]));
                                } else if (Constants.MAPPING_TYPE_DOUBLE.equalsIgnoreCase(mapping.getValue2())) {
                                    dataMap.put(mapping.getValue1(), Double.parseDouble(values[0]));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

         */
        private static class LongItem implements Item {
            private final long value;
    
            LongItem(String str) {
                this.value = Long.parseLong(str);
            }
    
            @Override
            public int getType() {
                return LONG_ITEM;
            }
    
            @Override
            public boolean isNull() {
                return value == 0;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
Back to top