- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 177 for SubClass (0.06 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertThat(future.isDone()).isFalse(); assertThat(future.set(1)).isTrue(); assertSuccessful(future, 1); } /** Concrete subclass for testing. */ private static class TestedFuture<V extends @Nullable Object> extends AbstractFuture<V> { private static <V extends @Nullable Object> TestedFuture<V> create() { return new TestedFuture<V>(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
assertEquals(error, exception.getCause()); } @Test public void test_constructorWithThrowableCause_VirtualMachineError() { // Test with VirtualMachineError subclass String message = "SSO failed due to VM error"; InternalError error = new InternalError("JVM internal error during SSO"); SsoProcessException exception = new SsoProcessException(message, error);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 13.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
private MockedStatic<UniAddress> uniAddressMockedStatic; private MockedStatic<SmbTransport> smbTransportMockedStatic; private MockedStatic<Config> configMockedStatic; // Test subclass to control DISABLED flag private static class TestDfs extends Dfs { private boolean disabled; public void setDisabled(boolean disabled) { this.disabled = disabled; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
if (result) { executionList.execute(); } return result; } /** * Following the contract of {@link AbstractQueuedSynchronizer} we create a private subclass to * hold the synchronizer. This synchronizer is used to implement the blocking and waiting calls * as well as to handle state changes in a thread-safe manner. The current state of the future
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
import java.util.Set; import org.jspecify.annotations.Nullable; /** * This class provides a skeletal implementation of {@link BaseGraph}. * * <p>The methods implemented in this class should not be overridden unless the subclass admits a * more efficient implementation. * * @author James Sexton * @param <N> Node parameter type */ abstract class AbstractBaseGraph<N> implements BaseGraph<N> { /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
import jcifs.smb1.util.LogStream; /** * This class simplifies communication for protocols that support * multiplexing requests. It encapsulates a stream and some protocol * knowledge (provided by a concrete subclass) so that connecting, * disconnecting, sending, and receiving can be syncronized * properly. Apparatus is provided to send and receive requests * concurrently. */ public abstract class Transport implements Runnable {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheLoader.java
} /** * Returns a cache loader based on an <i>existing</i> supplier instance. Note that there's no need * to create a <i>new</i> supplier just to pass it in here; just subclass {@code CacheLoader} and * implement {@link #load load} instead. * * <p>The returned object is serializable if {@code supplier} is serializable. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
// and not crash the entire upgrade process assertTrue(result >= 0, "Should handle .mvn creation failure gracefully"); } } /** * Testable subclass that exposes protected methods for testing. */ private static class TestableAbstractUpgradeGoal extends AbstractUpgradeGoal { TestableAbstractUpgradeGoal(StrategyOrchestrator orchestrator) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
} /** * Returns a cache loader based on an <i>existing</i> supplier instance. Note that there's no need * to create a <i>new</i> supplier just to pass it in here; just subclass {@code CacheLoader} and * implement {@link #load load} instead. * * <p>The returned object is serializable if {@code supplier} is serializable. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.7K bytes - Click Count (0) -
guava/src/com/google/common/base/Converter.java
* </ul> * * <h3>Example</h3> * * {@snippet : * return Converter.from( * Integer::toHexString, * s -> parseUnsignedInt(s, 16)); * } * * <p>An alternative using a subclass: * * {@snippet : * return new Converter<Integer, String>() { * @Override * protected String doForward(Integer i) { * return Integer.toHexString(i); * } * * @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0)