Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for FROM (0.02 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

            }
            // Can't map from a raw class to anything other than itself or a wildcard.
            // You can't say "assuming String is Integer".
            // And we don't support "assuming String is T"; user has to say "assuming T is String".
            throw new IllegalArgumentException("No type mapping from " + fromClass + " to " + to);
          }
        }.visit(from);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        // Owner is subclassed
        assertHasTypeVariable(new From<Integer>() {}.new To<String>().type());
        assertHasTypeVariable(new From<T>() {}.new To<String>().type());
    
        // Inner is subclassed
        assertNoTypeVariable(new From<Integer>().new To<String>() {}.type());
        assertHasTypeVariable(new From<Integer>().new To<T>() {}.type());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  3. guava-gwt/pom.xml

          <artifactId>guava</artifactId>
          <version>${project.version}</version>
        </dependency>
        <!-- We redeclare the j2objc-annotations dependency from `guava`: Our Gradle
             Module Metadata hides the dependency declared in `guava` from runtime
             configurations downstream, and GWT uses the runtime configuration for
             its builds. Thus, GWT doesn't get j2objc-annotations transitively, in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        // Owner is subclassed
        assertHasTypeVariable(new From<Integer>() {}.new To<String>().type());
        assertHasTypeVariable(new From<T>() {}.new To<String>().type());
    
        // Inner is subclassed
        assertNoTypeVariable(new From<Integer>().new To<String>() {}.type());
        assertHasTypeVariable(new From<Integer>().new To<T>() {}.type());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeResolver.java

            }
            // Can't map from a raw class to anything other than itself or a wildcard.
            // You can't say "assuming String is Integer".
            // And we don't support "assuming String is T"; user has to say "assuming T is String".
            throw new IllegalArgumentException("No type mapping from " + fromClass + " to " + to);
          }
        }.visit(from);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Types.java

       * of {@code TypeVariable} from {@link TypeResolver#resolveType} will not be able to call {@code
       * getAnnotatedBounds()} on it, but that should hopefully be rare.
       *
       * <p>TODO: b/147144588 - We are currently also missing the methods inherited from {@link
       * AnnotatedElement}, which {@code TypeVariable} began to extend only in Java 8. Those methods
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  7. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

       *
       * No further calls to this listener will be made.
       */
      open fun onClosed(eventSource: EventSource) {
      }
    
      /**
       * Invoked when an event source has been closed due to an error reading from or writing to the
       * network. Incoming events may have been lost. No further calls to this listener will be made.
       */
      open fun onFailure(
        eventSource: EventSource,
        t: Throwable?,
        response: Response?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

       * of {@code TypeVariable} from {@link TypeResolver#resolveType} will not be able to call {@code
       * getAnnotatedBounds()} on it, but that should hopefully be rare.
       *
       * <p>TODO: b/147144588 - We are currently also missing the methods inherited from {@link
       * AnnotatedElement}, which {@code TypeVariable} began to extend only in Java 8. Those methods
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TopKSelector.java

       */
      public static <T extends @Nullable Object> TopKSelector<T> greatest(
          int k, Comparator<? super T> comparator) {
        return new TopKSelector<>(Ordering.from(comparator).reverse(), k);
      }
    
      private final int k;
      private final Comparator<? super T> comparator;
    
      /*
       * We are currently considering the elements in buffer in the range [0, bufferSize) as candidates
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. docs/recipes.md

            System.out.println("Response 2 equals Response 1? " + response1Body.equals(response2Body));
          }
        ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
Back to top