- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 185 for new (0.08 sec)
-
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
final Date date = toDate("10/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("2010/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
*/ @Test public void testIsAncestor() throws Exception { final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null); final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1); final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2); assertThat(ClassLoaderUtil.isAncestor(cl3, cl2), is(true));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
final Properties properties = new Properties(); PropertiesUtil.load(properties, inputStreamReader); } /** * Test method for * {@link org.codelibs.core.io.PropertiesUtil#load(Properties, File)} . */ @Test public void testLoadPropertiesFile() { final Properties properties = new Properties(); PropertiesUtil.load(properties, inputFile);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java
exception.expectMessage(is("index=2")); final ArrayIterator<Integer> itr = new ArrayIterator<Integer>(new Integer[] { 1, 2 }); itr.next(); itr.next(); itr.next(); } /** * */ @Test public void testHasNext() { final ArrayIterator<String> itr = new ArrayIterator<String>("A", "B"); assertThat(itr.hasNext(), is(true)); itr.next();
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java
static final long serialVersionUID = 0L; private transient Map<String, Object> map = new CaseInsensitiveMap<>(); private static final Object PRESENT = new Object(); /** * {@link CaseInsensitiveSet}を作成します。 */ public CaseInsensitiveSet() { map = new CaseInsensitiveMap<>(); } /** * {@link CaseInsensitiveSet}を作成します。 * * @param c
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java
final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); emptyIterator.remove(); } /** * Test method for * {@link org.codelibs.core.collection.EmptyIterator#hasNext()}. */ @Test public void testHasNext() { final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); assertThat(emptyIterator.hasNext(), is(false));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
* * @author higa */ public class BeanDescImpl implements BeanDesc { /** 空のオブジェクト配列 */ protected static final Object[] EMPTY_ARGS = new Object[0]; /** 空のクラス配列 */ protected static final Class<?>[] EMPTY_PARAM_TYPES = new Class<?>[0]; /** Beanのクラス */ protected final Class<?> beanClass; /** 型引数と型変数のマップ */ protected final Map<TypeVariable<?>, Type> typeVariables;
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
return new Date(((Date) src).getTime()); } if (src instanceof Calendar) { return new Date(((Calendar) src).getTimeInMillis()); } final String str = src.toString(); if (isEmpty(str)) { return null; } if (isNotEmpty(pattern)) { final SimpleDateFormat format = new SimpleDateFormat(pattern, locale);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java
* @author koichik */ public class ZipFileUtilTest extends TestCase { /** * @throws Exception */ public void testToJarFilePath() throws Exception { final URL url = new URL(null, "zip:/Program Files/foo.zip!/", new URLStreamHandler() { @Override protected void parseURL(final URL u, final String spec, final int start, final int limit) {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
assertThat(traverser.isExistClass(DummyTest.class.getName()), is(true)); assertThat(traverser.isExistClass(TestCase.class.getName()), is(not(true))); final Set<String> set = new HashSet<String>(); traverser.forEach((ClassHandler) (packageName, shortClassName) -> set.add(ClassUtil.concatName(packageName, shortClassName))); assertThat(set.size() > 0, is(true));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.4K bytes - Viewed (0)