Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for parseDouble (0.04 sec)

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

            } else if (o instanceof String) {
                return toPrimitiveDouble((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Double.parseDouble(new SimpleDateFormat(pattern).format(o));
                }
                return ((java.util.Date) o).getTime();
            } else {
                return toPrimitiveDouble(o.toString());
            }
        }
    
    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. src/main/java/org/codelibs/fess/entity/GeoInfo.java

                                        }
                                        try {
                                            final double lat = Double.parseDouble(values[0]);
                                            final double lon = Double.parseDouble(values[1]);
                                            list.add(QueryBuilders.geoDistanceQuery(geoField).distance(distance).point(lat, lon));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Doubles.java

       *
       * <p>Unlike {@link Double#parseDouble(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link
       * Double#valueOf(String)}, except that leading and trailing whitespace is not permitted.
       *
       * <p>This implementation is likely to be faster than {@code Double.parseDouble} if many failures
       * are expected.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue());
            assertEquals(Double.parseDouble(expected), DocumentUtil.getValue(doc, "key1", Double.class).doubleValue());
    
            assertNull(DocumentUtil.getValue(doc, "key2", String.class));
        }
    
        public void test_strings() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                                } else if (Constants.MAPPING_TYPE_DOUBLE.equalsIgnoreCase(mapping.getValue2())) {
                                    dataMap.put(mapping.getValue1(), Double.parseDouble(values[0]));
                                } else if (Constants.MAPPING_TYPE_DATE.equalsIgnoreCase(mapping.getValue2())
                                        || Constants.MAPPING_TYPE_PDF_DATE.equalsIgnoreCase(mapping.getValue2())) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top