Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 65 for supertype (0.11 sec)

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

       *
       * @param c the collection for which to return an array of elements
       * @param array the array in which to place the collection elements
       * @throws ArrayStoreException if the runtime type of the specified array is not a supertype of
       *     the runtime type of every element in the specified collection
       */
      static <T extends @Nullable Object> T[] toArrayImpl(Collection<?> c, T[] array) {
        int size = c.size();
        if (array.length < size) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param c the collection for which to return an array of elements
       * @param array the array in which to place the collection elements
       * @throws ArrayStoreException if the runtime type of the specified array is not a supertype of
       *     the runtime type of every element in the specified collection
       */
      static <T extends @Nullable Object> T[] toArrayImpl(Collection<?> c, T[] array) {
        int size = c.size();
        if (array.length < size) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Converter.java

     * advantage of that for convertAll, as discussed on that method.)
     *
     * 2. The supertype of this class could be `Function<@Nullable A, @Nullable B>`, since
     * Converter.apply (like Converter.convert) is capable of accepting null inputs. However, a
     * supertype of `Function<A, B>` turns out to be massively more useful to callers in practice: They
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Invokable.java

     * the case. However, most methods from those types are present with the same signature in this
     * class.
     *
     * @param <T> the type that owns this method or constructor.
     * @param <R> the return type of (or supertype thereof) the method or the declaring type of the
     *     constructor.
     * @author Ben Yu
     * @since 14.0 (no longer implements {@link AccessibleObject} or {@code GenericDeclaration} since
     *     31.0)
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top