Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 1,113 for optional (0.13 seconds)

  1. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        // You could also apply it higher up the Logger hierarchy than this
        ExampleClassUnderTest.logger.addHandler(handler);
    
        ExampleClassUnderTest.logger.setUseParentHandlers(false); // optional
    
        stack.addTearDown(
            () -> {
              ExampleClassUnderTest.logger.setUseParentHandlers(true);
              ExampleClassUnderTest.logger.removeHandler(handler);
            });
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/annotations/GwtIncompatible.java

       * dependence on a type/method which GWT doesn't support, it is sufficient to simply reference the
       * unsupported type/method. E.g. "Class.isInstance".
       *
       * <p>As of Guava 20.0, this value is optional. We encourage authors who wish to describe why an
       * API is {@code @GwtIncompatible} to instead leave an implementation comment.
       */
      String value() default "";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 19 16:29:08 GMT 2017
    - 1.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

         */
        public static class TextFragment {
            /** Optional prefix text before the target */
            private final String prefix;
            /** Start of the target text */
            private final String textStart;
            /** Optional end of the target text */
            private final String textEnd;
            /** Optional suffix text after the target */
            private final String suffix;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/PeekingIterator.java

       *
       * @throws IllegalStateException if there has been a call to {@link #peek()} since the most recent
       *     call to {@link #next()} and this implementation does not support this sequence of calls
       *     (optional)
       */
      @Override
      void remove();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    }
                }
            };
            Optional<Activation> root = Optional.of(activation);
            stk.push(new ActivationFrame("activation", root));
            root.map(Activation::getFile).ifPresent(fa -> {
                stk.push(new ActivationFrame("file", Optional.of(fa)));
                stk.push(new ActivationFrame("exists", Optional.empty()));
                validator.accept(fa.getExists());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/WebAuthenticationService.java

                setupListCondition(cb, webAuthenticationPager);
            });
    
            // update pager
            BeanUtil.copyBeanToBean(webAuthenticationList, webAuthenticationPager, option -> option.include(Constants.PAGER_CONVERSION_RULE));
            webAuthenticationPager.setPageNumberList(webAuthenticationList.pageRange(op -> {
                op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java

            for (Object aSet : set) {
                Artifact artifact = (Artifact) aSet;
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

        }
    
        private static class MockOptions {
            private final boolean quiet;
    
            MockOptions(boolean quiet) {
                this.quiet = quiet;
            }
    
            Optional<Boolean> quiet() {
                return Optional.of(quiet);
            }
        }
    
        private static class MockSlf4jConfiguration implements Slf4jConfiguration {
            int setRootLoggerLevelCallCount = 0;
            Level lastSetLevel = null;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        if (allowsNullKeys) {
          boolean unused = map.containsKey(null);
        } else {
          try {
            boolean unused2 = map.containsKey(null);
          } catch (NullPointerException optional) {
          }
        }
        assertInvariants(map);
      }
    
      public void testContainsValue() {
        Map<K, V> map;
        V unmappedValue;
        try {
          map = makePopulatedMap();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/PeekingIterator.java

       *
       * @throws IllegalStateException if there has been a call to {@link #peek()} since the most recent
       *     call to {@link #next()} and this implementation does not support this sequence of calls
       *     (optional)
       */
      @Override
      void remove();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
Back to Top