- Sort Score
- Num 10 results
- Language All
Results 911 - 920 of 1,307 for Callable (0.1 seconds)
-
android/guava-tests/test/com/google/common/collect/ClassToInstanceMapTesting.java
import com.google.common.collect.testing.TestMapGenerator; import java.io.Serializable; import java.util.List; import java.util.Map.Entry; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link ImmutableClassToInstanceMap}. * * @author Kevin Bourrillion */ @NullUnmarked final class ClassToInstanceMapTesting { abstract static class TestClassToInstanceMapGeneratorCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/PeekingIterator.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotMock; import java.util.Iterator; import java.util.NoSuchElementException; import org.jspecify.annotations.Nullable; /** * An iterator that supports a one-element lookahead while iterating. * * <p>See the Guava User Guide article on <a href=
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Hashing.java
*/ package com.google.common.collect; import static java.lang.Math.max; import com.google.common.annotations.GwtCompatible; import com.google.common.primitives.Ints; import org.jspecify.annotations.Nullable; /** * Static methods for implementing hash-based collections. * * @author Kevin Bourrillion * @author Jesse Wilson * @author Austin Appleby */ @GwtCompatible final class Hashing {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
* limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import org.jspecify.annotations.Nullable; /** * An unhashable object to be used in testing as values in our collections. * * @author Regina O'Dell */ @GwtCompatible public class UnhashableObject implements Comparable<UnhashableObject> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 10 20:12:40 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizableSoftReference.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.lang.ref.ReferenceQueue; import java.lang.ref.SoftReference; import org.jspecify.annotations.Nullable; /** * Soft reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.collect; import java.util.Collection; import org.jspecify.annotations.Nullable; /** Never actually created; instead delegates to JdkBackedImmutableMultiset. */ final class RegularImmutableMultiset<E> extends ImmutableMultiset<E> { static final ImmutableMultiset<Object> EMPTY =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 14:59:07 GMT 2025 - 1.6K bytes - Click Count (0) -
guava/src/com/google/common/base/FinalizableSoftReference.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.lang.ref.ReferenceQueue; import java.lang.ref.SoftReference; import org.jspecify.annotations.Nullable; /** * Soft reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} catch (UnsupportedOperationException e) { return; } map.put(null, unmappedValue); Entry<@Nullable K, V> entry = mapEntry(null, unmappedValue); assertTrue(entrySet.contains(entry)); Entry<@Nullable K, @Nullable V> nonEntry = mapEntry(null, null); assertFalse(entrySet.contains(nonEntry)); } public void testEntrySetContainsEntryNullKeyMissing() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestQueueGenerator.java
import java.util.Queue; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Creates queues, containing sample elements, to be tested. * * @author Jared Levy */ @GwtCompatible @NullMarked public interface TestQueueGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> { @Override Queue<E> create(Object... elements);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestListGenerator.java
import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Creates sets, containing sample elements, to be tested. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public interface TestListGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> { @Override List<E> create(Object... elements);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.1K bytes - Click Count (0)