Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 381 for lambda (0.17 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public <T> void testVariableTypeTokenNotAllowed() {
        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
          fail();
        } catch (IllegalStateException expected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * despite the @IgnoreJRERequirement annotation there. My assumption is that, because javac
       * generates a synthetic method for the body of the lambda, the actual method calls that Animal
       * Sniffer is flagging don't appear inside toImmutableSortedMultiset but rather inside that
       * synthetic method. By moving those calls to a named method, we're able to apply
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

       * TreeSet#TreeSet(Comparator)}, where such consistency is expected.
       *
       * <p>The returned comparator is serializable.
       *
       * <p><b>Java 8+ users:</b> Use the lambda expression {@code (a, b) -> 0} instead (in certain
       * cases you may need to cast that to {@code Comparator<YourType>}).
       *
       * @since 13.0
       */
      @GwtCompatible(serializable = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public <T> void testVariableTypeTokenNotAllowed() {
        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
          fail();
        } catch (IllegalStateException expected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  5. configure.py

          ask_for_var=(
              'Please specify the (min) Android NDK API level to use. '
              '[Available levels: %s]'
          )
          % api_levels,
          check_success=(lambda *_: True),
          error_msg='Android-%s is not present in the NDK path.',
      )
    
      return android_ndk_api_level
    
    
    def set_gcc_host_compiler_path(environ_cp):
      """Set GCC_HOST_COMPILER_PATH."""
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Ordering.java

       * TreeSet#TreeSet(Comparator)}, where such consistency is expected.
       *
       * <p>The returned comparator is serializable.
       *
       * <p><b>Java 8+ users:</b> Use the lambda expression {@code (a, b) -> 0} instead (in certain
       * cases you may need to cast that to {@code Comparator<YourType>}).
       *
       * @since 13.0
       */
      @GwtCompatible(serializable = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsBoostDocumentRuleBhv.java

        public int selectCount(CBCall<BoostDocumentRuleCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
        public OptionalEntity<BoostDocumentRule> selectEntity(CBCall<BoostDocumentRuleCB> cbLambda) {
            return facadeSelectEntity(createCB(cbLambda));
        }
    
        protected OptionalEntity<BoostDocumentRule> facadeSelectEntity(BoostDocumentRuleCB cb) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRelatedContentBhv.java

            return facadeSelectList(createCB(cbLambda));
        }
    
        public PagingResultBean<RelatedContent> selectPage(CBCall<RelatedContentCB> cbLambda) {
            // #pending same?
            return (PagingResultBean<RelatedContent>) facadeSelectList(createCB(cbLambda));
        }
    
        public void selectCursor(CBCall<RelatedContentCB> cbLambda, EntityRowHandler<RelatedContent> entityLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsWebAuthenticationBhv.java

        public int selectCount(CBCall<WebAuthenticationCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
        public OptionalEntity<WebAuthentication> selectEntity(CBCall<WebAuthenticationCB> cbLambda) {
            return facadeSelectEntity(createCB(cbLambda));
        }
    
        protected OptionalEntity<WebAuthentication> facadeSelectEntity(WebAuthenticationCB cb) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/bsbhv/BsSearchLogBhv.java

            return facadeSelectList(createCB(cbLambda));
        }
    
        public PagingResultBean<SearchLog> selectPage(CBCall<SearchLogCB> cbLambda) {
            // #pending same?
            return (PagingResultBean<SearchLog>) facadeSelectList(createCB(cbLambda));
        }
    
        public void selectCursor(CBCall<SearchLogCB> cbLambda, EntityRowHandler<SearchLog> entityLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top