Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for supertype (0.05 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * @return an array containing all of the elements in this queue
       * @throws ArrayStoreException if the runtime type of the specified array is not a supertype of
       *     the runtime type of every element in this queue
       * @throws NullPointerException if the specified array is null
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * @return an array containing all of the elements in this queue
       * @throws ArrayStoreException if the runtime type of the specified array is not a supertype of
       *     the runtime type of every element in this queue
       * @throws NullPointerException if the specified array is null
       */
      @CanIgnoreReturnValue
      @Override
      public <T> T[] toArray(T[] a) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

     * <i>type</i> offering meaningful behavioral guarantees. This is substantially different from the
     * case of (say) {@link HashSet}, which is an <i>implementation</i>, with semantics that were
     * largely defined by its supertype.
     *
     * <p>For field types and method return types, you should generally use the immutable type (such as
     * {@link ImmutableList}) instead of the general collection interface type (such as {@link List}).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/EventBus.java

     * To give the system a second chance to handle dead events, they are wrapped in an instance of
     * {@link DeadEvent} and reposted.
     *
     * <p>If a subscriber for a supertype of all events (such as Object) is registered, no event will
     * ever be considered dead, and no DeadEvents will be generated. Accordingly, while DeadEvent
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
    import java.util.concurrent.locks.LockSupport;
    import org.jspecify.annotations.Nullable;
    import sun.misc.Unsafe;
    
    /** Supertype of {@link AbstractFuture} that contains platform-specific functionality. */
    // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    @SuppressWarnings("ShortCircuitBoolean")
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
    import java.util.concurrent.locks.LockSupport;
    import org.jspecify.annotations.Nullable;
    import sun.misc.Unsafe;
    
    /** Supertype of {@link AbstractFuture} that contains platform-specific functionality. */
    // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    @SuppressWarnings("ShortCircuitBoolean")
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableCollection.java

     * <i>type</i> offering meaningful behavioral guarantees. This is substantially different from the
     * case of (say) {@link HashSet}, which is an <i>implementation</i>, with semantics that were
     * largely defined by its supertype.
     *
     * <p>For field types and method return types, you should generally use the immutable type (such as
     * {@link ImmutableList}) instead of the general collection interface type (such as {@link List}).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

        Arrays.fill(nextInInsertionOrder, 0, size, ABSENT);
        size = 0;
        firstInInsertionOrder = ENDPOINT;
        lastInInsertionOrder = ENDPOINT;
        modCount++;
      }
    
      /** Shared supertype of keySet, values, entrySet, and inverse.entrySet. */
      abstract static class View<
              K extends @Nullable Object, V extends @Nullable Object, T extends @Nullable Object>
          extends AbstractSet<T> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      // test without that cast to verify that using the raw Comparable works outside J2KT.
      @J2ktIncompatible // J2KT's translation of raw Comparable is not a supertype of Int translation
      public void testCreation_expectedSize() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.expectedSize(8).create();
        assertEquals(8, queue.capacity());
        checkUnbounded(queue);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

      }
    
      public void testFromRangeTwoEnds() {
        for (BoundType lowerType : BoundType.values()) {
          for (BoundType upperType : BoundType.values()) {
            assertEquals(
                GeneralRange.range(Ordering.natural(), 3, lowerType, 4, upperType),
                GeneralRange.from(Range.range(3, lowerType, 4, upperType)));
          }
        }
      }
    
      public void testReverse() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top