Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for isEmpty (0.17 sec)

  1. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            });
    
            if (logger.isDebugEnabled()) {
                logger.debug("role: {}", roleSet);
            }
            final String[] roles = roleSet.toArray(new String[roleSet.size()]);
    
            if (!subRoleSet.isEmpty()) {
                TimeoutManager.getInstance().addTimeoutTarget(() -> {
                    processSubRoles(ldapUser, bindDn, subRoleSet, groupFilter, roleSet);
                    if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

         *            文字列
         * @param separator
         *            セパレータ
         * @return 結果の文字列
         */
        public static String substringFromLast(final String str, final String separator) {
            if (isEmpty(str) || isEmpty(separator)) {
                return str;
            }
            final int pos = str.lastIndexOf(separator);
            if (pos == -1) {
                return str;
            }
            return str.substring(0, pos);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

                        ftpAuthList.add(ftpAuth);
                    }
                }
                if (!smbAuthList.isEmpty()) {
                    factoryParamMap.put(SmbClient.SMB_AUTHENTICATIONS_PROPERTY, smbAuthList.toArray(new SmbAuthentication[smbAuthList.size()]));
                }
                if (!smb1AuthList.isEmpty()) {
                    factoryParamMap.put(org.codelibs.fess.crawler.client.smb1.SmbClient.SMB_AUTHENTICATIONS_PROPERTY,
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * @throws EmptyArgumentException
         *             引数が<code>null</code>または空文字列の場合。
         */
        public static void assertArgumentNotEmpty(final String argName, final String argValue) {
            if (StringUtil.isEmpty(argValue)) {
                throw new EmptyArgumentException(argName, "ECL0010", asArray(argName));
            }
        }
    
        /**
         * 引数が<code>null</code>でも空文字列でもないことを表明します。
         *
         * @param argName
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)}
         * .
         */
        @Test
        public void testIsEmptyCollectionOfQ() {
            Collection<String> c = null;
            assertThat(CollectionsUtil.isEmpty(c), is(true));
            c = new ArrayList<String>();
            assertThat(CollectionsUtil.isEmpty(c), is(true));
        }
    
        /**
         * Test method for
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

            return map.keySet().iterator();
        }
    
        @Override
        public int size() {
            return map.size();
        }
    
        @Override
        public boolean isEmpty() {
            return map.isEmpty();
        }
    
        @Override
        public boolean contains(final Object o) {
            return map.containsKey(o);
        }
    
        @Override
        public boolean add(final String o) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

            if (entityList.isEmpty()) {
                return new int[] {};
            }
            return delegateBatchRequest(entityList, esEntity -> {
                return createInsertRequest(esEntity);
            });
        }
    
        protected int[] delegateBatchUpdate(List<? extends Entity> entityList, UpdateOption<? extends ConditionBean> option) {
            if (entityList.isEmpty()) {
                return new int[] {};
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                        if (arList.isEmpty()) {
                            emptyListCount++;
                        } else {
                            emptyListCount = 0; // reset
                        }
                        long hitCount = ((EsResultList<EsAccessResult>) arList).getTotalHits();
                        while (hitCount > 0) {
                            if (arList.isEmpty()) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/LruHashSet.java

        }
    
        /**
         * Returns true if this set contains no elements.
         *
         * @return true if this set contains no elements.
         */
        @Override
        public boolean isEmpty() {
            return map.isEmpty();
        }
    
        /**
         * Returns true if this set contains the specified element.
         *
         * @param o
         *            element whose presence in this set is to be tested.
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

                return ((Boolean) o) ? (long) 1 : (long) 0;
            } else {
                return toLong(o.toString());
            }
        }
    
        private static Long toLong(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Long.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * 変換された{@literal long}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top