Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 3,323 for author (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java

    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Variant of {@link SerializableTester} that does not require the reserialized object's class to be
     * identical to the original.
     *
     * @author Chris Povirk
     */
    /*
     * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a
     * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

    import java.util.Iterator;
    import java.util.Map.Entry;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation for {@link FilteredMultimap#values()}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class FilteredMultimapValues<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractCollection<V> {
      @Weak private final FilteredMultimap<K, V> multimap;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java

     * their default implementations. When those implementations invoke methods, they invoke methods on
     * the {@code ForwardingConcurrentMap}.
     *
     * @author Charles Fry
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingConcurrentMap<K, V> extends ForwardingMap<K, V>
        implements ConcurrentMap<K, V> {
    
      /** Constructor for use by subclasses. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 16:58:16 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/PeekingIterator.java

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionHelpersExplained#peekingiterator">{@code
     * PeekingIterator}</a>.
     *
     * @author Mick Killianey
     * @since 2.0
     */
    @DoNotMock("Use Iterators.peekingIterator")
    @GwtCompatible
    public interface PeekingIterator<E extends @Nullable Object> extends Iterator<E> {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableList.java

    import com.google.common.annotations.VisibleForTesting;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableList} backed by a simple array.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableList<E> extends ImmutableList<E> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeParameter.java

     *
     * {@snippet :
     * static <T> TypeToken<List<T>> listOf(Class<T> elementType) {
     *   return new TypeToken<List<T>>() {}
     *       .where(new TypeParameter<T>() {}, elementType);
     * }
     * }
     *
     * @author Ben Yu
     * @since 12.0
     */
    /*
     * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable
     * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

    package com.google.common.base;
    
    import com.google.caliper.Benchmark;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Some microbenchmarks for the {@link com.google.common.base.Objects} class.
     *
     * @author Ben L. Titzer
     */
    @NullUnmarked
    public class ObjectsBenchmark {
    
      private static final Integer I0 = -45;
      private static final Integer I1 = -1;
      private static final Integer I2 = 3;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

     * {@link Ordering#natural()}, as opposed to using the inlined {@link Arrays#sort(Object[])}
     * implementation, which uses {@link Comparable#compareTo} directly.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ComparatorDelegationOverheadBenchmark {
      private final Integer[][] inputArrays = new Integer[0x100][];
    
      @Param({"10000"})
      int n;
    
      @BeforeExperiment
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.RoundingMode;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for the rounding methods of {@code DoubleMath}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class DoubleMathRoundingBenchmark {
      private static final double[] doubleInIntRange = new double[ARRAY_SIZE];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/UrlEscapersTest.java

    import com.google.common.escape.UnicodeEscaper;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the {@link UrlEscapers} class.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    public class UrlEscapersTest extends TestCase {
      public void testUrlFormParameterEscaper() {
        UnicodeEscaper e = (UnicodeEscaper) urlFormParameterEscaper();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top