Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 59 for Supertype (0.25 seconds)

  1. 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}).
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  2. android/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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  3. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

         * ImmutableSortedMultiset#orderedBy(Comparator)}.
         */
        @SuppressWarnings("unchecked")
        public Builder(Comparator<? super E> comparator) {
          super(true); // doesn't allocate hash table in supertype
          this.comparator = checkNotNull(comparator);
          this.elements = (E[]) new Object[ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY];
          this.counts = new int[ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  5. android/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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

          for (int j = i + 1; j <= MAX_BOUND; j++) {
            for (BoundType lowerType : BoundType.values()) {
              for (BoundType upperType : BoundType.values()) {
                if (i == j & lowerType == OPEN & upperType == OPEN) {
                  continue;
                }
                builder.add(Range.range(i, lowerType, j, upperType));
              }
            }
          }
        }
        RANGES = builder.build();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

          for (int j = i + 1; j <= MAX_BOUND; j++) {
            for (BoundType lowerType : BoundType.values()) {
              for (BoundType upperType : BoundType.values()) {
                if (i == j & lowerType == OPEN & upperType == OPEN) {
                  continue;
                }
                builder.add(Range.range(i, lowerType, j, upperType));
              }
            }
          }
        }
        RANGES = builder.build();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java

            .asList()
            .containsExactly(
                ListenableFuture.class.getMethod("addListener", Runnable.class, Executor.class));
        assertWithMessage(
                "Do not add new supertypes to ListenableFuture. Its API needs to continue to match the"
                    + " version we released in a separate artifact com.google.guava:listenablefuture.")
            .that(ListenableFuture.class.getInterfaces())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java

            .asList()
            .containsExactly(
                ListenableFuture.class.getMethod("addListener", Runnable.class, Executor.class));
        assertWithMessage(
                "Do not add new supertypes to ListenableFuture. Its API needs to continue to match the"
                    + " version we released in a separate artifact com.google.guava:listenablefuture.")
            .that(ListenableFuture.class.getInterfaces())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocSuperTypeBuilder.java

        public ClassDocSuperTypeBuilder(DslDocModel model, GenerationListener listener) {
            this.model = model;
            this.listener = listener;
        }
    
        /**
         * Builds and attaches the supertypes of the given class
         */
        void build(ClassDoc classDoc) {
            ClassMetaData classMetaData = classDoc.getClassMetaData();
            String superClassName = classMetaData.getSuperClassName();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 18 17:01:38 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top