- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for Method (0.14 sec)
-
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
private void setupValueOfMethod() { for (final Method method : propertyType.getMethods()) { if (method.isBridge() || method.isSynthetic()) { continue; } if (ModifierUtil.isStatic(method.getModifiers()) && method.getName().equals("valueOf") && method.getParameterTypes().length == 1 && method.getParameterTypes()[0].equals(String.class)) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 15.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/MethodUtilTest.java
final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class); assertThat(MethodUtil.isHashCodeMethod(equalsMethod), is(not(true))); } /** * */ @Test public void testIsToStringMethod() { final Method toStringMethod = ClassUtil.getMethod(getClass(), "toString"); assertThat(MethodUtil.isToStringMethod(toStringMethod), is(true));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ModifierUtil.java
assertArgumentNotNull("method", method); return isPublic(method.getModifiers()); } /** * <code>public</code>かどうか返します。 * * @param field * フィールド。{@literal null}であってはいけません * @return パブリックかどうか */ public static boolean isPublic(final Field field) { assertArgumentNotNull("field", field);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java
import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import org.junit.Test; /** * @author wyukawa * */ public class CollectionsUtilTest { /** * Test method for * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)} * . */ @Test public void testIsEmptyCollectionOfQ() { Collection<String> c = null;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java
*/ public class BinaryConversionUtilTest { /** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /** * Test method for * {@link org.codelibs.core.convert.BinaryConversionUtil#toBinary(java.lang.Object)} * . */ @Test public void testToBinary() {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java
/** * Test method for * {@link org.codelibs.core.collection.EmptyIterator#EmptyIterator()}. */ @Test public void testEmptyIterator() { final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); assertThat(emptyIterator, is(notNullValue())); } /** * Test method for {@link org.codelibs.core.collection.EmptyIterator#remove()}
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) -
src/test/java/org/codelibs/core/lang/Hoge.java
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @author higa * */ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.TYPE, ElementType.METHOD }) public @interface Hoge { /** * */ String aaa() default "123"; /** * */ String bbb(); /** * */ String ccc() default "";
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
final Calendar local = CalendarConversionUtil.localize(calendar); assertEquals(TimeZone.getDefault(), local.getTimeZone()); } /** * Test method for * {@link org.codelibs.core.convert.CalendarConversionUtil#localize(Calendar)} * . */ @Test public void testCreateAndCopySrcNull() { exception.expect(NullArgumentException.class);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
assertNull(s); final String contentType = MimeTypeUtil.guessContentType(path); assertEquals("text/html", contentType); } /** * Test method for * {@link org.codelibs.core.net.MimeTypeUtil#guessContentType(String)} . */ @Test public void testGuessContentType() { exception.expect(EmptyArgumentException.class);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/UuidUtilTest.java
*/ package org.codelibs.core.net; import junit.framework.TestCase; /** * @author higa * */ public class UuidUtilTest extends TestCase { /** * Test method for {@link org.codelibs.core.net.UuidUtil#create()}. */ public void testCreate() { final String uuid = UuidUtil.create(); System.out.println(uuid); final String uuid2 = UuidUtil.create();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.1K bytes - Viewed (0)