- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for ParseFloat (0.12 seconds)
-
android/guava/src/com/google/common/primitives/Floats.java
* * <p>Unlike {@link Float#parseFloat(String)}, this method returns {@code null} instead of * throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link * Float#valueOf(String)}, except that leading and trailing whitespace is not permitted. * * <p>This implementation is likely to be faster than {@code Float.parseFloat} if many failures * are expected. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 25.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
* @return The setting value as a float. */ public float getAsFloat(final String key, final float defaultValue) { return getAs(key, defaultValue, Float::parseFloat); } /** * Retrieves a setting value as a boolean. * @param key The key of the setting. * @param defaultValue The default value if the setting is not found.Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 18.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 5.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java
if (elevateWord != null && boost != null && readings != null && fields != null) { elevateWords[i] = new ElevateWord(elevateWord.toString(), Float.parseFloat(boost.toString()), readings, fields, tags, roles); } } return elevateWords; } /** * Add an elevate word. * @param elevateWord Elevate word */
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java
return boost.toString(); } return null; } public void setBoostValue(final String value) { if (value != null) { try { boost = Float.parseFloat(value); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Invalid boost value, keeping current: value={}, error={}", value, e.getMessage());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:38:30 GMT 2026 - 10.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java
return boost.toString(); } return null; } public void setBoostValue(final String value) { if (value != null) { try { boost = Float.parseFloat(value); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Invalid boost value, keeping current: value={}, error={}", value, e.getMessage());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 02:07:40 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/ElevateWordService.java
elevateWord.setReading(reading); elevateWord.setPermissions(permissions); elevateWord.setBoost(StringUtil.isBlank(boost) ? 1.0f : Float.parseFloat(boost)); elevateWord.setCreatedBy(Constants.SYSTEM_USER); elevateWord.setCreatedTime(now); elevateWordBhv.insert(elevateWord);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 18.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java
final long docFreq = Long.parseLong(source.get(FieldNames.DOC_FREQ).toString()); final long queryFreq = Long.parseLong(source.get(FieldNames.QUERY_FREQ).toString()); final float userBoost = Float.parseFloat(source.get(FieldNames.USER_BOOST).toString()); final List<String> tags = SuggestUtil.getAsList(source.get(FieldNames.TAGS)); final List<String> roles = SuggestUtil.getAsList(source.get(FieldNames.ROLES));
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java
return boost.toString(); } return null; } public void setBoostValue(final String value) { if (value != null) { try { boost = Float.parseFloat(value); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Invalid boost value, keeping current: value={}, error={}", value, e.getMessage());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:38:30 GMT 2026 - 17.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java
if (value == null) { return defaultValue; } if (value instanceof Number numValue) { return numValue.floatValue(); } return Float.parseFloat(value.toString()); } /** * Gets a Double value from the map. * * @param map The source map * @param key The key to look up
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 9.8K bytes - Click Count (0)