- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for show (0.17 sec)
-
guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java
FilenameFilter filter = new PatternFilenameFilter("a+"); assertTrue(filter.accept(dir, "a")); assertTrue(filter.accept(dir, "aaaa")); assertFalse(filter.accept(dir, "b")); // Show that dir is ignored assertTrue(filter.accept(null, "a")); } public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java
FilenameFilter filter = new PatternFilenameFilter("a+"); assertTrue(filter.accept(dir, "a")); assertTrue(filter.accept(dir, "aaaa")); assertFalse(filter.accept(dir, "b")); // Show that dir is ignored assertTrue(filter.accept(null, "a")); } public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumHashBiMap.java
super(new EnumMap<K, V>(keyType), new HashMap<V, K>()); // TODO: cpovirk - Pre-size the HashMap based on the number of enum values? this.keyTypeOrObjectUnderJ2cl = keyType; } // Overriding these 3 methods to show that values may be null (but not keys) @Override K checkKey(K key) { return checkNotNull(key); } @CanIgnoreReturnValue @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
super(new EnumMap<K, V>(keyType), new HashMap<V, K>()); // TODO: cpovirk - Pre-size the HashMap based on the number of enum values? this.keyTypeOrObjectUnderJ2cl = keyType; } // Overriding these 3 methods to show that values may be null (but not keys) @Override K checkKey(K key) { return checkNotNull(key); } @CanIgnoreReturnValue @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* } * }; * iteratorTester.test(); * iteratorTester.testForEachRemaining(); * }</pre> * * <p><b>Note</b>: It is necessary to use {@code IteratorTester.KnownOrder} as shown above, rather * than {@code KnownOrder} directly, because otherwise the code cannot be compiled. * * @author Kevin Bourrillion * @author Chris Povirk */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
} } /** * Because Thread.interrupt() can invoke arbitrary code, it can be slow (e.g. perform IO). To * protect ourselves from that we want to make sure that tasks don't spin too much waiting for the * interrupting thread to complete the protocol. */ /* * This test hangs (or maybe is just *very* slow) under Android. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
} } /** * Because Thread.interrupt() can invoke arbitrary code, it can be slow (e.g. perform IO). To * protect ourselves from that we want to make sure that tasks don't spin too much waiting for the * interrupting thread to complete the protocol. */ /* * This test hangs (or maybe is just *very* slow) under Android. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/annotations/VisibleForTesting.java
* for use in test code. * * <p><b>Do not use this interface</b> for public or protected declarations: it is a fig leaf for * bad design, and it does not prevent anyone from using the declaration---and experience has shown * that they will. If the method breaks the encapsulation of its class, then its internal * representation will be hard to change. Instead, use <a
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 30 22:25:16 UTC 2023 - 1.3K bytes - Viewed (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* } * }, executor); * }</pre> * * <h3>How to get an instance</h3> * * <p>We encourage you to return {@code ListenableFuture} from your methods so that your users can * take advantage of the {@linkplain Futures utilities built atop the class}. The way that you will * create {@code ListenableFuture} instances depends on how you currently create {@code Future} * instances: * * <ul>
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFuture.java
* } * }, executor); * }</pre> * * <h3>How to get an instance</h3> * * <p>We encourage you to return {@code ListenableFuture} from your methods so that your users can * take advantage of the {@linkplain Futures utilities built atop the class}. The way that you will * create {@code ListenableFuture} instances depends on how you currently create {@code Future} * instances: * * <ul>
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0)