- Sort Score
- Num 10 results
- Language All
Results 1171 - 1180 of 2,123 for instanceof (0.06 seconds)
-
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
class MonotonicClockTest { @Test @DisplayName("MonotonicClock singleton instance should always return the same instance") void testSingletonInstance() { MonotonicClock clock1 = MonotonicClock.get(); MonotonicClock clock2 = MonotonicClock.get(); assertSame(clock1, clock2, "Multiple calls to get() should return the same instance"); } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/ParameterizedClassDesc.java
* * @author koichik */ public interface ParameterizedClassDesc { /** * Returns <code>true</code> if the class represented by this instance is parameterized. * * @return <code>true</code> if the class represented by this instance is parameterized */ boolean isParameterizedClass(); /** * Returns the raw class. * * @param <T>Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
} @ParameterizedTest(name = "Implementation is instance: {0}") @MethodSource("implementations") @DisplayName("Happy path: can create implementations and use type checks") void testImplementationsAreUsable(SessionSetupHandler impl) { // Arrange is provided by method source // Act & Assert assertNotNull(impl, "Implementation instance should not be null");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
} @Test @DisplayName("Test getSize always returns 0") void testGetSize() { // Default instance assertEquals(0L, fileBasicInfo.getSize()); // Instance with values FileBasicInfo info = new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, TEST_ATTRIBUTES);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
} }; } /** * Creates new instance of problem collector with configuration from the provided session. * * @param <P> the type of problem * @param protoSession the session containing configuration for the problem collector * @return a new problem collector instance */ @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jul 18 17:30:19 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
List<Future<String>> results; results = service.invokeAll(callables); assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class); results = service.invokeAll(callables, 1, SECONDS); assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class); /* * TODO(cpovirk): move ForwardingTestCase somewhere common, and use it to
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteStreamsTest.java
byte[] actual = new byte[bytes.length * 2]; IllegalStateException ex = assertThrows(IllegalStateException.class, () -> in.readFully(actual)); assertThat(ex).hasCauseThat().isInstanceOf(EOFException.class); } public void testNewDataInput_readFullyWithOffset() { ByteArrayDataInput in = ByteStreams.newDataInput(bytes); byte[] actual = new byte[4]; in.readFully(actual, 2, 2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java
* system. Custom scope annotations should be annotated with {@code @Scope}. * <p> * Built-in scopes include: * <ul> * <li>{@link Singleton} - One instance per container</li> * <li>{@link SessionScoped} - One instance per Maven session</li> * <li>{@link MojoExecutionScoped} - One instance per plugin execution</li> * </ul> * * @see Singleton * @see SessionScoped * @see MojoExecutionScoped * @since 4.0.0 */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java
if (StringUtil.isNotBlank(name)) { return request.getParameter(name); } return null; } /** * Set the random instance. * @param random The random instance. */ public void setRandom(final Random random) { this.random = random; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.6K bytes - Click Count (0) -
okhttp-brotli/api/okhttp-brotli.api
public static final field INSTANCE Lokhttp3/brotli/Brotli; public fun decompress (Lokio/BufferedSource;)Lokio/Source; public fun getEncoding ()Ljava/lang/String; } public final class okhttp3/brotli/BrotliInterceptor : okhttp3/CompressionInterceptor { public static final field INSTANCE Lokhttp3/brotli/BrotliInterceptor;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 18:34:32 GMT 2025 - 428 bytes - Click Count (0)