Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for Size (0.15 sec)

  1. src/main/java/org/codelibs/core/timer/TimeoutManager.java

        }
    
        /**
         * 管理している {@link TimeoutTask}の数を返します。
         *
         * @return 管理している {@link TimeoutTask}の数
         */
        public synchronized int getTimeoutTaskCount() {
            return timeoutTaskList.size();
        }
    
        @Override
        public void run() {
            int nThreads = Runtime.getRuntime().availableProcessors() / 2;
            final String value = System.getProperty("corelib.timeout_task.num_of_threads");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

            map = new CaseInsensitiveMap<>(initialCapacity);
        }
    
        @Override
        public Iterator<String> iterator() {
            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);
    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)
  3. src/main/java/org/codelibs/core/collection/LruHashSet.java

        }
    
        /**
         * Returns the number of elements in this set (its cardinality).
         *
         * @return the number of elements in this set (its cardinality).
         */
        @Override
        public int size() {
            return map.size();
        }
    
        /**
         * Returns true if this set contains no elements.
         *
         * @return true if this set contains no elements.
         */
        @Override
        public boolean isEmpty() {
    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)
  4. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        }
    
        @Override
        public Object setProperty(final String key, final String value) {
            return getProperties().setProperty(key, value);
        }
    
        @Override
        public int size() {
            return getProperties().size();
        }
    
        @Override
        public void store(final OutputStream out, final String comments) throws IOException {
            getProperties().store(out, comments);
        }
    
        @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

        public void testIncludes() throws Exception {
            final CopyOptions option = new CopyOptions();
            assertThat(option.include(BeanNames.hoge()), is(sameInstance(option)));
            assertThat(option.includePropertyNames.size(), is(1));
            assertThat(option.includePropertyNames.get(0), is("hoge"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testExcludes() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

         */
        public static boolean isNumber(final String s) {
            if (isEmpty(s)) {
                return false;
            }
    
            final int size = s.length();
            for (int i = 0; i < size; i++) {
                final char chr = s.charAt(i);
                if (chr < '0' || '9' < chr) {
                    return false;
                }
            }
    
            return true;
        }
    
    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)
Back to top