Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for containers (0.16 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("1", true, StringUtil.contains("a", 'a'));
            assertEquals("2", true, StringUtil.contains("abc", 'b'));
            assertEquals("3", false, StringUtil.contains("abc", 'd'));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContains2() throws Exception {
            assertEquals("1", true, StringUtil.contains("a", "a"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

        /**
         * charを含んでいるかどうか返します。
         *
         * @param str
         *            文字列
         * @param ch
         *            char
         * @return charを含んでいるかどうか
         */
        public static boolean contains(final String str, final char ch) {
            if (isEmpty(str)) {
                return false;
            }
            return str.indexOf(ch) >= 0;
        }
    
        /**
         * 文字列を含んでいるかどうか返します。
         *
    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/user/allcommon/EsAbstractBehavior.java

                return parent.size();
            }
    
            public boolean isEmpty() {
                return parent.isEmpty();
            }
    
            public boolean contains(final Object o) {
                return parent.contains(o);
            }
    
            public Iterator<E> iterator() {
                return parent.iterator();
            }
    
            public Object[] toArray() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                    final Set<String> permissions = stream(item.getPermissions()).get(stream -> stream.collect(Collectors.toSet()));
                    for (final String roleValue : roleSet) {
                        if (permissions.contains(roleValue)) {
                            final Map<String, String> map = new HashMap<>(2);
                            map.put(Constants.ITEM_LABEL, item.getLabel());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.7K bytes
    - Viewed (2)
  5. pom.xml

    		</profile>
    	</profiles>
    	<build>
    		<finalName>fess</finalName>
    		<resources>
    			<resource>
    				<directory>src/main/resources</directory>
    			</resource>
    		</resources>
    
    		<!-- This file contains all the common properties used to build the different
    			packages (tar.gz, deb, rpm) using Maven resources plugin -->
    		<filters>
    			<filter>src/packaging/common/packaging.properties</filter>
    		</filters>
    
    		<plugins>
    XML
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Apr 22 12:06:58 GMT 2024
    - 48.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            return String.format("return container.getComponent(\"crawlJob\")" + ".logLevel(\"info\")" + ".sessionId(\"%s\")"
                    + ".webConfigIds([\"%s\"] as String[])" + ".jobExecutor(executor).execute();", webCofigId, webCofigId);
        }
    
        protected static String buildFileConfigJobScript(final String fileConfigId) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                        final String id = (String) memberOf.get("id");
                        if (StringUtil.isNotBlank(id)) {
                            if (memberType.contains("group")) {
                                groupList.add(id);
                            } else if (memberType.contains("role")) {
                                roleList.add(id);
                            } else {
                                if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

                throw new IllegalArgumentException(msg);
            }
        }
    
        protected String toRangeDateString(Date date, String format) {
            if (format.contains("epoch_millis")) {
                return Long.toString(date.getTime());
            } else if (format.contains("date_optional_time")) {
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
                sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

                throw new IllegalArgumentException(msg);
            }
        }
    
        protected String toRangeDateString(Date date, String format) {
            if (format.contains("epoch_millis")) {
                return Long.toString(date.getTime());
            } else if (format.contains("date_optional_time")) {
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
                sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                            ((ChildUrlsException) cause).getChildUrlList().stream().map(RequestData::getUrl).forEach(s -> {
                                if (!processedUrls.contains(s) && !urlQueue.contains(s)) {
                                    urlQueue.offer(s);
                                }
                            });
                        } else if (maxAccessCount != 1L) {
                            throw e;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
Back to top