Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 759 for that (0.03 sec)

  1. guava/src/com/google/common/collect/PeekingIterator.java

    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An iterator that supports a one-element lookahead while iterating.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionHelpersExplained#peekingiterator">{@code
     * PeekingIterator}</a>.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/EndpointPair.java

            // Why? The second half of condition2 requires that nodeV equals other.nodeU.
            // We already know that nodeU equals other.nodeU. Combined with the earlier statement,
            // and the transitive property of equality, this implies that nodeU equals nodeV.
            // If nodeU equals nodeV, condition1 == condition2, so checking condition1 is sufficient.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetForEachEntryTester.java

        assertEquals(expected, actual);
      }
    
      /**
       * Returns {@link Method} instances for the remove tests that assume multisets support duplicates
       * so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getForEachEntryDuplicateInitializingMethods() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/EnumHashBiMap.java

        /*
         * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on
         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new HashMap<V, K>());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/MultiInputStream.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Iterator;
    import javax.annotation.CheckForNull;
    
    /**
     * An {@link InputStream} that concatenates multiple substreams. At most one stream will be open at
     * a time.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SparseImmutableTable.java

      // For each cell in iteration order, the index of that cell's row key in the row key list.
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] cellRowIndices;
    
      // For each cell in iteration order, the index of that cell's column key in the list of column
      // keys present in that row.
      @SuppressWarnings("Immutable") // We don't modify this after construction.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

        assertEquals(
            "multiset.count(wrongType) didn't return 0", 0, getMultiset().count(WrongType.VALUE));
      }
    
      /**
       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getCountDuplicateInitializingMethods() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ImmediateFuture.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Implementation of {@link Futures#immediateFuture}. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    // TODO(cpovirk): Make this final (but that may break Mockito spy calls).
    class ImmediateFuture<V extends @Nullable Object> implements ListenableFuture<V> {
      static final ListenableFuture<?> NULL = new ImmediateFuture<@Nullable Object>(null);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Function.java

        extends java.util.function.Function<F, T> {
      @Override
      @ParametricNullness
      T apply(@ParametricNullness F input);
    
      /**
       * <i>May</i> return {@code true} if {@code object} is a {@code Function} that behaves identically
       * to this function.
       *
       * <p><b>Warning: do not depend</b> on the behavior of this method.
       *
       * <p>Historically, {@code Function} instances in this library have implemented this method to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Mar 20 18:30:19 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAll_unsupportedNonePresent()} so that
       * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} while we
       * figure out what to do with <a href="http://goo.gl/qJBruX">{@code ConcurrentHashMap} support for
       * {@code entrySet().add()}</a>.
       */
      @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top