- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 224 for References (0.19 sec)
-
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
void executeAndCompare(ListIterator<E> reference, Iterator<E> target) { internalExecuteAndCompare(reference, target, NEXT_METHOD); } }; Stimulus<E, Iterator<E>> remove = new Stimulus<E, Iterator<E>>("remove") { @Override void executeAndCompare(ListIterator<E> reference, Iterator<E> target) { internalExecuteAndCompare(reference, target, REMOVE_METHOD); } };
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
try { iter.remove(); fail("No exception thrown"); } catch (UnsupportedOperationException expected) { } } @GwtIncompatible // weak references @J2ktIncompatible @AndroidIncompatible // depends on details of GC public void testFreesNextReference() { Iterator<Object> itr = new AbstractIterator<Object>() { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java
try { iter.remove(); fail("No exception thrown"); } catch (UnsupportedOperationException expected) { } } @GwtIncompatible // weak references @J2ktIncompatible @AndroidIncompatible // depends on details of GC public void testFreesNextReference() { Iterator<Object> itr = new AbstractIterator<Object>() { @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Charsets.java
* */ @J2ktIncompatible @GwtIncompatible // Charset not supported by GWT public static final Charset UTF_16 = Charset.forName("UTF-16"); /* * Please do not add new Charset references to this class, unless those character encodings are * part of the set required to be supported by all Java platform implementations! Any Charsets
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/EnumsTest.java
} public void testGetIfPresent_whenNoMatchingConstant() { assertThat(Enums.getIfPresent(TestEnum.class, "WOMBAT")).isAbsent(); } @J2ktIncompatible @GwtIncompatible // weak references @AndroidIncompatible // depends on details of GC and classloading public void testGetIfPresent_doesNotPreventClassUnloading() throws Exception { WeakReference<?> shadowLoaderReference = doTestClassUnloading();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 03 20:10:02 GMT 2023 - 8.8K bytes - Viewed (0) -
guava/src/com/google/common/base/internal/Finalizer.java
} } /** * Cleans up the given reference and any other references already in the queue. Catches and logs * all throwables. * * @return true if the caller should continue to wait for more references to be added to the * queue, false if the associated FinalizableReferenceQueue is no longer referenced. */ private boolean cleanUp(Reference<?> firstReference) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Aug 23 12:54:09 GMT 2023 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* <i>happen-before</i></a> its execution begins, perhaps in another thread. * * <p>Guava implementations of {@code ListenableFuture} promptly release references to listeners * after executing them. * * @param listener the listener to run when the computation is complete * @param executor the executor to run the listener in
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:13:41 GMT 2023 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Striped.java
return created; } // N.B. Draining the queue is only necessary to ensure that we don't accumulate empty references // in the array. We could skip this if we decide we don't care about holding on to Reference // objects indefinitely. private void drainQueue() { Reference<? extends L> ref; while ((ref = queue.poll()) != null) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 10 20:55:18 GMT 2023 - 20.3K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/ObjectArrays.java
} /** * Returns a new array of the given length with the same type as a reference array. * * @param reference any array of the desired type * @param length the length of the new array */ public static <T extends @Nullable Object> T[] newArray(T[] reference, int length) { return Platform.newArray(reference, length); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jun 12 15:59:22 GMT 2023 - 9K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* SoftReference} (by default, strong references are used). Softly-referenced objects will be * garbage-collected in a <i>globally</i> least-recently-used manner, in response to memory * demand. * * <p><b>Warning:</b> in most circumstances it is better to set a per-cache {@linkplain * #maximumSize(long) maximum size} instead of using soft references. You should only use this
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 51.3K bytes - Viewed (0)