- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 147 for get$default (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
super.runBare(); return; } throw e; } } public void testNull() throws Exception { new NullPointerTester() .setDefault(CountDownLatch.class, new CountDownLatch(0)) .setDefault(Semaphore.class, new Semaphore(999)) .testAllPublicStaticMethods(Uninterruptibles.class); } // IncrementableCountDownLatch.await() tests
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
assertThat(Thread.currentThread().getName()).isEqualTo(oldName); } public void testExecutors_nullCheck() throws Exception { new ClassSanityTester() .setDefault(RateLimiter.class, RateLimiter.create(1.0)) .forAllPublicStaticMethods(MoreExecutors.class) .thatReturn(Executor.class) .testNulls(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
SourceSinkFactories.appendingPathCharSinkFactory())); suite.addTestSuite(MoreFilesTest.class); return suite; } private static final FileSystem FS = FileSystems.getDefault(); private static Path root() { return FS.getRootDirectories().iterator().next(); } private Path tempDir; @Override protected void setUp() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
assertThat(Thread.currentThread().getName()).isEqualTo(oldName); } public void testExecutors_nullCheck() throws Exception { new ClassSanityTester() .setDefault(RateLimiter.class, RateLimiter.create(1.0)) .forAllPublicStaticMethods(MoreExecutors.class) .thatReturn(Executor.class) .testNulls(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
* runner would run it even if we did, but part of the problem is b/230620681. */ private static final FileSystem FS = FileSystems.getDefault(); private static Path root() { return FS.getRootDirectories().iterator().next(); } private Path tempDir; @Override protected void setUp() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 26.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.setDefault(double.class, 3.0); tester.testAllPublicStaticMethods(DoubleMath.class); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 03 16:20:39 GMT 2026 - 27.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
String CRAWLER_METADATA_CONTENT_EXCLUDES = "crawlerMetadataContentExcludes"; Map<String, Object> propMap = new ConcurrentHashMap<>(); String getOrDefault(String propertyKey, String defaultValue); // // system.properties // default void storeSystemProperties() { ComponentUtil.getSystemProperties().store(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 92.3K bytes - Click Count (0) -
android/guava/src/com/google/common/net/MediaType.java
mediaType.parsedCharset = this.parsedCharset; } // Return one of the constants if the media type is a known type. @SuppressWarnings("GetOrDefaultNotNull") // getOrDefault requires API Level 24 MediaType result = firstNonNull(knownTypes.get(mediaType), mediaType); return result; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 01:46:40 GMT 2025 - 48K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
return backingSet().contains(key); } @Override public @Nullable V get(@Nullable Object key) { return getOrDefault(key, null); } @Override public @Nullable V getOrDefault(@Nullable Object key, @Nullable V defaultValue) { if (Collections2.safeContains(backingSet(), key)) { @SuppressWarnings("unchecked") // unsafe, but Javadoc warns about it
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
return this.getClass().getSimpleName() + "[" + index + "]"; } } public void testNulls() { ServiceManager manager = new ServiceManager(Arrays.asList()); new NullPointerTester() .setDefault(ServiceManager.Listener.class, new RecordingListener()) .testAllPublicInstanceMethods(manager); } private static final class RecordingListener extends ServiceManager.Listener {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 25.6K bytes - Click Count (0)