- Sort Score
- Result 10 results
- Languages All
Results 961 - 970 of 3,323 for author (0.04 sec)
-
android/guava/src/com/google/common/base/Defaults.java
import com.google.common.annotations.J2ktIncompatible; import org.jspecify.annotations.Nullable; /** * This class provides default values for all Java types, as defined by the JLS. * * @author Ben Yu * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class Defaults { private Defaults() {} private static final Double DOUBLE_DEFAULT = 0d;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableMap; import java.util.Map; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * @author David Beaumont */ @GwtCompatible @NullUnmarked public class ArrayBasedEscaperMapTest extends TestCase { public void testNullMap() { assertThrows(NullPointerException.class, () -> ArrayBasedEscaperMap.create(null));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 15:41:04 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
* new AbstractSequentialIterator<Integer>(1) { * protected Integer computeNext(Integer previous) { * return (previous == 1 << 30) ? null : previous * 2; * } * }; * } * * @author Chris Povirk * @since 12.0 (in Guava as {@code AbstractLinkedIterator} since 8.0) */ @GwtCompatible public abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> { private @Nullable T nextOrNull;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableAsList.java
import org.jspecify.annotations.Nullable; /** * An {@link ImmutableAsList} implementation specialized for when the delegate collection is already * backed by an {@code ImmutableList} or array. * * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace, not default serialization class RegularImmutableAsList<E> extends ImmutableAsList<E> { private final ImmutableCollection<E> delegate;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ForwardingGraph.java
import java.util.Set; /** * A class to allow {@link Graph} implementations to be backed by a {@link BaseGraph}. This is not * currently planned to be released as a general-purpose forwarding class. * * @author James Sexton */ abstract class ForwardingGraph<N> extends AbstractGraph<N> { abstract BaseGraph<N> delegate(); @Override public Set<N> nodes() { return delegate().nodes(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnel.java
* into.putUnencodedChars(person.getFirstName()) * .putUnencodedChars(person.getLastName()) * .putInt(person.getAge()); * } * } * } * * @author Dimitris Andreou * @since 11.0 */ @Beta @DoNotMock("Implement with a lambda") public interface Funnel<T extends @Nullable Object> extends Serializable { /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SettableFuture.java
* error. If your needs are more complex than {@code SettableFuture} supports, use {@link * AbstractFuture}, which offers an extensible version of the API. * * @author Sven Mawson * @since 9.0 (in 1.0 as {@code ValueFuture}) */ @GwtCompatible public final class SettableFuture<V extends @Nullable Object> extends AbstractFuture.TrustedFuture<V> { /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
import java.util.Collection; import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Generator for collection of a particular size. * * @author George van den Driessche */ @GwtCompatible @NullMarked public final class OneSizeGenerator<T, E extends @Nullable Object> implements OneSizeTestContainerGenerator<T, E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java
import com.google.common.collect.BiMap; import com.google.common.collect.testing.features.MapFeature; import org.junit.Ignore; /** * Tester for {@code BiMap.clear}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@code poll()} operations on a queue. Can't be invoked directly; * please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Jared Levy */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.5K bytes - Viewed (0)