- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for parseLong (0.16 sec)
-
guava/src/com/google/common/cache/CacheBuilderSpec.java
protected abstract void parseLong(CacheBuilderSpec spec, long value); @Override public void parse(CacheBuilderSpec spec, String key, @Nullable String value) { if (isNullOrEmpty(value)) { throw new IllegalArgumentException("value of key " + key + " omitted"); } try { parseLong(spec, Long.parseLong(value)); } catch (NumberFormatException e) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 22 14:27:44 GMT 2022 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
this.revision = Byte.parseByte(st.nextToken()); String tmp = st.nextToken(); long id = 0; if ( tmp.startsWith("0x") ) id = Long.parseLong(tmp.substring(2), 16); else id = Long.parseLong(tmp); this.identifier_authority = new byte[6]; for ( int i = 5; id > 0; i-- ) { this.identifier_authority[ i ] = (byte) ( id % 256 );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 14.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class)); assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue()); assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue()); assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue());
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SpecialRandom.java
* * @author Nicholaus Shupe */ public final class SpecialRandom extends Random { public static SpecialRandom valueOf(String s) { return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s)); } private final boolean hasSeed; private final long seed; public SpecialRandom() { this.hasSeed = false; this.seed = 0; } public SpecialRandom(long seed) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SpecialRandom.java
* * @author Nicholaus Shupe */ public final class SpecialRandom extends Random { public static SpecialRandom valueOf(String s) { return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s)); } private final boolean hasSeed; private final long seed; public SpecialRandom() { this.hasSeed = false; this.seed = 0; } public SpecialRandom(long seed) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
protected abstract void parseLong(CacheBuilderSpec spec, long value); @Override public void parse(CacheBuilderSpec spec, String key, @Nullable String value) { if (isNullOrEmpty(value)) { throw new IllegalArgumentException("value of key " + key + " omitted"); } try { parseLong(spec, Long.parseLong(value)); } catch (NumberFormatException e) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Aug 22 14:27:44 GMT 2022 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
} else if (o instanceof String) { return toPrimitiveLong((String) o); } else if (o instanceof java.util.Date) { if (pattern != null) { return Long.parseLong(new SimpleDateFormat(pattern).format(o)); } return ((java.util.Date) o).getTime(); } else if (o instanceof Boolean) { return ((Boolean) o) ? 1 : 0; } else {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/FacetInfo.java
size = fessConfig.getQueryFacetFieldsSizeAsInteger(); } if (StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsMinDocCount())) { minDocCount = Long.parseLong(fessConfig.getQueryFacetFieldsMinDocCount()); } if (StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsSort())) { sort = fessConfig.getQueryFacetFieldsSort(); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.6K bytes - Viewed (0) -
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)