- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 311 for Doesn (0.16 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertEquals(1, (int) iter.next()); assertFalse(iter.hasNext()); // Make sure computeNext() doesn't get invoked again assertFalse(iter.hasNext()); try { iter.next(); fail("no exception thrown"); } catch (NoSuchElementException expected) { } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
* return createExpensiveGraph(key); * } * }; * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader); * }</pre> * * <p>Since this example doesn't support reloading or bulk loading, if you're able to use lambda * expressions it can be specified even more easily: * * <pre>{@code * CacheLoader<Key, Graph> loader = CacheLoader.from(key -> createExpensiveGraph(key));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 19 20:20:14 GMT 2022 - 9.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
* ImmutableSortedSet#orderedBy}. */ /* * TODO(cpovirk): use Object[] instead of E[] in the mainline? (The backport is different and * doesn't need this suppression, but we keep it to minimize diffs.) Generally be more clear * about when we have an Object[] vs. a Comparable[] or other array type in internalArray? If we
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 38.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
import java.io.File; /** * Android-incompatible tests for {@link FileBackedOutputStream}. * * @author Chris Nokleberg */ @AndroidIncompatible // Finalization probably just doesn't happen fast enough? public class FileBackedOutputStreamAndroidIncompatibleTest extends IoTestCase { public void testFinalizeDeletesFile() throws Exception { byte[] data = newPreFilledByteArray(100);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Jun 08 21:20:23 GMT 2023 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
Comparator<? super K> comparator = map.comparator(); if (comparator == null) { // If map has a null comparator, the keys should have a natural ordering, // even though K doesn't explicitly implement Comparable. comparator = (Comparator<? super K>) NATURAL_ORDER; } if (map instanceof ImmutableSortedMap) { // TODO(kevinb): Prove that this cast is safe, even though
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 53.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/ArtifactFilterManager.java
/** * Returns a filter for only the core artifacts. * * @return the artifact filter */ ArtifactFilter getCoreArtifactFilter(); /** * Exclude an extension artifact (doesn't affect getArtifactFilter's result, only getExtensionArtifactFilter). * * @param artifactId an artifact id * @deprecated use {@code META-INF/maven/extension.xml} to define artifacts exported by Maven core and plugin
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java
testers.add(SetAddTester.class); testers.add(SetCreationTester.class); testers.add(SetHashCodeTester.class); testers.add(SetEqualsTester.class); testers.add(SetRemoveTester.class); // SetRemoveAllTester doesn't exist because, Sets not permitting // duplicate elements, there are no tests for Set.removeAll() that aren't // covered by CollectionRemoveAllTester. return testers; } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
thread.setDaemon(true); thread.start(); return thread; } /** * Generates a test case verifying that calling any enterXxx, tryEnterXxx, or waitForXxx method * with a guard that doesn't match the monitor produces an IllegalMonitorStateException. */ private static TestCase generateGuardWithWrongMonitorTestCase( final Method method, final boolean fair1, final boolean fair2) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 14:48:57 GMT 2023 - 27.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
this.capabilities |= SmbConstants.CAP_EXTENDED_SECURITY; // & doesn't copy high bit if ( ctx.getConfig().isUseUnicode() || ctx.getConfig().isForceUnicode() ) { this.capabilities |= SmbConstants.CAP_UNICODE; } if ( ( this.capabilities & SmbConstants.CAP_UNICODE ) == 0 ) { // server doesn't want unicode if ( ctx.getConfig().isForceUnicode() ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 15.4K bytes - Viewed (0) -
guava/src/com/google/common/annotations/GwtIncompatible.java
@Documented @GwtCompatible public @interface GwtIncompatible { /** * Describes why the annotated element is incompatible with GWT. Since this is generally due to a * dependence on a type/method which GWT doesn't support, it is sufficient to simply reference the * unsupported type/method. E.g. "Class.isInstance". * * <p>As of Guava 20.0, this value is optional. We encourage authors who wish to describe why an
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 16:29:08 GMT 2017 - 1.9K bytes - Viewed (0)