- Sort Score
- Result 10 results
- Languages All
Results 1021 - 1030 of 6,976 for class (0.03 sec)
-
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
public void test_utilityClass_pattern() { // Verify utility class design pattern compliance // 1. Class should be final assertTrue("Class should be final", java.lang.reflect.Modifier.isFinal(KuromojiCSVUtil.class.getModifiers())); // 2. Should have exactly one private constructor Constructor<?>[] constructors = KuromojiCSVUtil.class.getDeclaredConstructors();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 18.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
* return Iterables.filter(classes, subtypeOf(Number.class)); * } * * The code above returns an iterable containing {@code Number.class} and {@code Long.class}. * * <p><b>Discouraged:</b> Prefer using {@code clazz::isAssignableFrom} or {@code x -> * clazz.isAssignableFrom(x)}, but note that lambdas do not have human-readable {@link * #toString()} representations and are not serializable.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
api/maven-api-plugin/src/main/mdo/lifecycle.mdo
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 18.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
TypeToken<List<? extends Number>> numberList = new TypeToken<List<? extends Number>>() {}; abstract class StringList implements List<String> {} assertThrows(IllegalArgumentException.class, () -> numberList.getSubtype(StringList.class)); } private static class OwnerTypeSubtypingTests extends SubtypeTester { @TestSubtype public Mall<Outdoor>.Shop<Electronics> innerTypeIsSubtype(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
// Access protected constructor via reflection Constructor<CrawlerSystemException> constructor = CrawlerSystemException.class.getDeclaredConstructor(String.class, boolean.class, boolean.class); constructor.setAccessible(true); // Test with suppression enabled and writable stack trace String message1 = "Test with suppression enabled";Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
Class<?>[] paramTypes = new Class<?>[params.length]; for (int i = 0; i < params.length; i++) { if (params[i] instanceof byte[]) { paramTypes[i] = byte[].class; } else if (params[i] instanceof Integer) { paramTypes[i] = int.class; // Use primitive int.class instead of Integer.class } else {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
static final Future<String> ERROR_FUTURE = UncheckedThrowingFuture.throwingError(ERROR); public static final class TwoArgConstructorException extends Exception { public TwoArgConstructorException(String message, Throwable cause) { super(message, cause); } } public static final class TwoArgConstructorRuntimeException extends RuntimeException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
} public void testGap_invalidRangesWithInfinity() { assertThrows(IllegalArgumentException.class, () -> Range.atLeast(1).gap(Range.atLeast(2))); assertThrows(IllegalArgumentException.class, () -> Range.atLeast(2).gap(Range.atLeast(1))); assertThrows(IllegalArgumentException.class, () -> Range.atMost(1).gap(Range.atMost(2)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java
} } private static Method getJdkNextDown() throws Exception { try { return Math.class.getMethod("nextDown", double.class); } catch (NoSuchMethodException expectedBeforeJava8) { return Class.forName("sun.misc.FpUtils").getMethod("nextDown", double.class); } } @AndroidIncompatible // TODO(cpovirk): File bug for BigDecimal.doubleValue(). public void testBigToDouble() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3K bytes - Viewed (0)