- Sort Score
- Num 10 results
- Language All
Results 1331 - 1340 of 7,017 for KClass (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java
import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; /** * */ class RequirementMatcherFactoryTest { /** * Test of createExactMatcher method, of class RequirementMatcherFactory. */ @Test void testCreateExactMatcher() { RequirementMatcher matcher;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
return MoreObjects.toStringHelper(ServiceManager.class) .add("services", Collections2.filter(services, not(instanceOf(NoOpService.class)))) .toString(); } /** * An encapsulation of all the mutable state of the {@link ServiceManager} that needs to be * accessed by instances of {@link ServiceListener}. */ private static final class ServiceManagerState { final Monitor monitor = new Monitor();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 33.2K bytes - Click Count (1) -
guava-tests/test/com/google/common/net/HttpHeadersTest.java
import java.util.ArrayList; import java.util.List; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for the HttpHeaders class. * * @author Kurt Alfred Kluever */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class HttpHeadersTest extends TestCase { public void testConstantNameMatchesString() throws Exception { // Special case some of the weird HTTP Header names...Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:10:09 GMT 2026 - 4.1K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/precommit/LicenseHeadersPrecommitPluginFuncTest.groovy
package ${packageString(sourceFile)}; public class ${sourceFile.getName() - ".java"} { } """ } private File unknownSourceFile(String filePath = "src/main/java/org/acme/UnknownLicensed.java") { File sourceFile = file(filePath); sourceFile << """ /* * Blubb my custom license shrug! */ package ${packageString(sourceFile)}; public class ${sourceFile.getName() - ".java"} { } """Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/base/Functions.java
* typically by writing {@code (Function<Object, String> & Serializable) Object::toString}. * * <p>For more important information about the transition from Guava's {@link Function} class to * the JDK {@link java.util.function.Function} class, see {@link Function}. */ public static Function<Object, String> toStringFunction() { return ToStringFunction.INSTANCE; } // enum singleton patternCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 15.4K bytes - Click Count (0) -
guava/src/com/google/common/base/MoreObjects.java
* instance's {@link Object#getClass()}. * * <p>Note that in GWT, class names are often obfuscated. * * @param clazz the {@link Class} of the instance * @since 18.0 (since 7.0 as {@code Objects.toStringHelper}). */ public static ToStringHelper toStringHelper(Class<?> clazz) { return new ToStringHelper(clazz.getSimpleName()); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
assertThat(hp.getHost()).isEqualTo("gmail.com"); assertTrue(hp.hasPort()); assertEquals(81, hp.getPort()); assertThrows(IllegalArgumentException.class, () -> HostAndPort.fromParts("gmail.com:80", 81)); assertThrows(IllegalArgumentException.class, () -> HostAndPort.fromParts("gmail.com", -1)); } public void testFromHost() { HostAndPort hp = HostAndPort.fromHost("gmail.com");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 9.7K bytes - Click Count (0) -
src/main/java/jcifs/netbios/UniAddress.java
import jcifs.Address; import jcifs.CIFSContext; /** * <p> * Under normal conditions it is not necessary to use * this class to use jCIFS properly. Name resolusion is * handled internally to the <code>jcifs.smb</code> package. * <p> * This class is a wrapper for both {@link jcifs.netbios.NbtAddress} * and {@link java.net.InetAddress}. The name resolution mechanisms
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListGetTester<E> extends AbstractListTester<E> { public void testGet_valid() { // This calls get() on each index and checks the result: expectContents(createOrderedArray()); } public void testGet_negative() { assertThrows(IndexOutOfBoundsException.class, () -> getList().get(-1)); } public void testGet_tooLarge() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/converter/SqlDateConverter.java
return null; } return StringConversionUtil.toString((Date) value, pattern); } @Override public boolean isTarget(final Class<?> clazz) { assertArgumentNotNull("clazz", clazz); return clazz == java.sql.Date.class; }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2K bytes - Click Count (0)