Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 86 for tree (0.13 sec)

  1. src/test/java/org/codelibs/core/collection/MultiIteratorTest.java

            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("Foo"));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("Bar"));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("Baz"));
    
            assertThat(it.hasNext(), is(not(true)));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java

            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameInstance(cl3)));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameInstance(cl2)));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameInstance(cl1)));
    
            assertThat(it.hasNext(), is(not(true)));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/timer/TimeoutManager.java

         *            待機する時間(ミリ秒単位)
         * @return スレッドが終了した場合は<code>true</code>
         * @throws InterruptedException
         *             待機中に割り込まれた場合
         */
        public boolean stop(final long timeoutMillis) throws InterruptedException {
            final Thread t = this.thread;
            synchronized (this) {
                if (t == null) {
                    return true;
                }
                this.thread = null;
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java

        @Test
        public void testHasNext() {
            final ArrayIterator<String> itr = new ArrayIterator<String>("A", "B");
            assertThat(itr.hasNext(), is(true));
            itr.next();
            assertThat(itr.hasNext(), is(true));
            itr.next();
            assertThat(itr.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
    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)
  5. src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java

         */
        public void testIsTarget() throws Exception {
            final TimeConverter converter = new TimeConverter("yyyy/MM/dd");
            assertThat(converter.isTarget(java.sql.Time.class), is(true));
            assertThat(converter.isTarget(java.util.Date.class), is(not(true)));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java

            final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd");
            assertThat(converter.isTarget(java.sql.Timestamp.class), is(true));
            assertThat(converter.isTarget(java.util.Date.class), is(not(true)));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

         */
        @Test
        public void testIsAssignableFrom() {
            assertThat(ClassUtil.isAssignableFrom(Number.class, Integer.class), is(true));
            assertThat(ClassUtil.isAssignableFrom(Integer.class, Number.class), is(not(true)));
            assertThat(ClassUtil.isAssignableFrom(int.class, Integer.class), is(true));
        }
    
        /**
         *
         */
        @Test
        public void testGetPackageName() {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/MethodUtil.java

        }
    
        /**
         * <code>public</code>かどうかを返します。
         *
         * @param method
         *            メソッド。{@literal null}であってはいけません
         * @return <code>public</code>なら{@literal true}
         */
        public static boolean isPublic(final Method method) {
            assertArgumentNotNull("method", method);
    
            return Modifier.isPublic(method.getModifiers());
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/ArrayMap.java

                    if (e.hashCode == hashCode && key.equals(e.key)) {
                        return true;
                    }
                }
            } else {
                for (Entry<K, V> e = tbl[0]; e != null; e = e.next) {
                    if (e.key == null) {
                        return true;
                    }
                }
            }
            return false;
        }
    
        @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/core/beans/PropertyDesc.java

        /**
         * {@link BeanDesc}を返します。
         *
         * @return {@link BeanDesc}
         */
        BeanDesc getBeanDesc();
    
        /**
         * このプロパティがパラメタ化された型の場合は{@literal true}を返します。
         *
         * @return このプロパティがパラメタ化された型の場合は{@literal true}
         */
        boolean isParameterized();
    
        /**
         * このプロパティがパラメタ化された型の場合、その情報を返します。
         *
         * @return このプロパティがパラメタ化された型の場合はその情報、そうでない場合は{@literal null}
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top