Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 142 for isPresent (0.06 sec)

  1. cmd/common-main.go

    	}
    }
    
    // Initialize KMS global variable after valiadating and loading the configuration.
    // It depends on KMS env variables and global cli flags.
    func handleKMSConfig() {
    	present, err := kms.IsPresent()
    	if err != nil {
    		logger.Fatal(err, "Invalid KMS configuration specified")
    	}
    	if !present {
    		return
    	}
    
    	KMS, err := kms.Connect(GlobalContext, &kms.ConnectionOptions{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

        return from(Iterables.limit(getDelegate(), maxSize));
      }
    
      /**
       * Determines whether this fluent iterable is empty.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}.
       */
      public final boolean isEmpty() {
        return !getDelegate().iterator().hasNext();
      }
    
      /**
       * Returns an {@code ImmutableList} containing all of the elements from this fluent iterable in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/FluentIterable.java

        return from(Iterables.limit(getDelegate(), maxSize));
      }
    
      /**
       * Determines whether this fluent iterable is empty.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}.
       */
      public final boolean isEmpty() {
        return !getDelegate().iterator().hasNext();
      }
    
      /**
       * Returns an {@code ImmutableList} containing all of the elements from this fluent iterable in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

       * iterator whether it has any elements <i>remaining</i> (which one does using {@link
       * Iterator#hasNext}).
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}
       *
       * @return {@code true} if the iterable contains no elements
       */
      public static boolean isEmpty(Iterable<?> iterable) {
        if (iterable instanceof Collection) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterables.java

       * iterator whether it has any elements <i>remaining</i> (which one does using {@link
       * Iterator#hasNext}).
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}
       *
       * @return {@code true} if the iterable contains no elements
       */
      public static boolean isEmpty(Iterable<?> iterable) {
        if (iterable instanceof Collection) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            pageNumber.ifPresent(num -> {
                stopwordsPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                stopwordsPager.setCurrentPageNumber(0);
            });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                duplicateHostPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                duplicateHostPager.setCurrentPageNumber(0);
            });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                dataConfigPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                dataConfigPager.setCurrentPageNumber(0);
            });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

         * @return HTML response for the list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                keyMatchPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                keyMatchPager.setCurrentPageNumber(0);
            });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                    .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrTelephoneNumber(), s)));
            OptionalUtil.ofNullable(user.getHomePhone())
                    .filter(StringUtil::isNotBlank)
                    .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrHomePhone(), s)));
            OptionalUtil.ofNullable(user.getHomePostalAddress())
                    .filter(StringUtil::isNotBlank)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
Back to top