Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ClassLoaderIterator (0.13 sec)

  1. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

         *
         * @param classLoader
         *            クラスローダ。{@literal null}であってはいけません
         * @return {@link ClassLoaderIterator}をラップした{@link Iterable}
         */
        public static Iterable<ClassLoader> iterable(final ClassLoader classLoader) {
            return () -> new ClassLoaderIterator(classLoader);
        }
    
        /**
         * インスタンスを構築します。
         *
         * @param classLoader
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java

            final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1);
            final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2);
    
            final ClassLoaderIterator it = new ClassLoaderIterator(cl3);
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameInstance(cl3)));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameInstance(cl2)));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.lang.ClassLoaderIterator.iterable;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.IOException;
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top