- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 793 for contracts (0.12 seconds)
-
guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
import java.util.Iterator; import java.util.Map.Entry; import java.util.SortedMap; /** * Tests representing the contract of {@link SortedMap}. Concrete subclasses of this base class test * conformance of concrete {@link SortedMap} subclasses to that contract. * * @author Jared Levy */ // TODO: Use this class to test classes besides ImmutableSortedMap. @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 17 20:00:30 GMT 2024 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* documentation. */ public void add(Runnable runnable, Executor executor) { // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws // NPE on null listener, so we propagate that contract up into the add method as well. checkNotNull(runnable, "Runnable was null."); checkNotNull(executor, "Executor was null.");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 6.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java
private static final long serialVersionUID = 1L; /** * Constructs a new SuggesterException with the specified detail message. * @param msg The detail message. */ public SuggesterException(final String msg) { super(msg); } /** * Constructs a new SuggesterException with the specified cause. * @param cause The cause. */Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java
* way to obtain a {@code List<ListenableFuture<T>>} from this method is an unchecked (but safe) * cast: * * <pre> * {@code @SuppressWarnings("unchecked") // guaranteed by invokeAll contract} * {@code List<ListenableFuture<T>> futures = (List) executor.invokeAll(tasks);} * </pre> * * @return A list of {@code ListenableFuture} instances representing the tasks, in the sameCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.2K bytes - Click Count (0) -
guava/src/com/google/common/base/VerifyException.java
*/ @GwtCompatible public class VerifyException extends RuntimeException { /** Constructs a {@code VerifyException} with no message. */ public VerifyException() {} /** Constructs a {@code VerifyException} with the message {@code message}. */ public VerifyException(@Nullable String message) { super(message); } /** * Constructs a {@code VerifyException} with the cause {@code cause} and a message that is {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/ConnectionTimeoutException.java
/** * */ private static final long serialVersionUID = 7327198103204592731L; /** * Constructs a new ConnectionTimeoutException with no detail message. */ public ConnectionTimeoutException() { } /** * Constructs a new ConnectionTimeoutException with the specified detail message. * @param msg the detail message */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java
this.longMessage = longMessage; } /** * Constructs a new {@code MojoException} wrapping an underlying {@code Throwable} * and providing a {@code message}. */ public MojoException(String message, Throwable cause) { super(message, cause); } /** * Constructs a new {@code MojoException} providing a {@code message}. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon May 13 09:53:45 GMT 2024 - 2.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java
* <ul> * <li>{@link #SuggestSettingsException(String)}: Constructs a new exception with the specified detail message.</li> * <li>{@link #SuggestSettingsException(Throwable)}: Constructs a new exception with the specified cause.</li> * <li>{@link #SuggestSettingsException(String, Throwable)}: Constructs a new exception with the specified detail message and cause.</li> * </ul> * * @see RuntimeException
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbSessionTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; @DisplayName("SmbSession Interface Contract Tests") class SmbSessionTest { @Nested @DisplayName("AutoCloseable Contract Tests") class AutoCloseableContractTest { @Test @DisplayName("Should implement AutoCloseable interface") void shouldImplementAutoCloseable() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/LdapOperationException.java
/** * Constructs a new LDAP operation exception with the specified detail message and cause. * * @param message The detail message. * @param cause The cause. */ public LdapOperationException(final String message, final Throwable cause) { super(message, cause); } /** * Constructs a new LDAP operation exception with the specified detail message.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.4K bytes - Click Count (0)