- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 375 for subclass (0.06 seconds)
-
guava/src/com/google/common/base/Joiner.java
/* * requireNonNull is not safe: Joiner.on(...).join(somethingThatContainsNull) will indeed throw. * However, Joiner.on(...).useForNull(...).join(somethingThatContainsNull) *is* safe -- because * it returns a subclass of Joiner that overrides this method to tolerate null inputs. * * Unfortunately, we don't distinguish between these two cases in our public API: Joiner.on(...)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 21K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* of SerializedForm whose readResolve() method returns objects of the subclass type. */ @J2ktIncompatible // serialization Object writeReplace() { return new SerializedForm<>(this); } @J2ktIncompatible // java.io.ObjectInputStream private void readObject(ObjectInputStream stream) throws InvalidObjectException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* more information, see the comments in that class. * * We already know that that's how it behaves, and subclasses of Converter can't change that * behavior. So there's no sense in making all subclass authors exclude the method from any * NullPointerTester tests that they have. */ ignoredMembers.add(Converter.class.getMethod("apply", Object.class));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* of SerializedForm whose readResolve() method returns objects of the subclass type. */ @J2ktIncompatible // serialization Object writeReplace() { return new SerializedForm<>(this); } @J2ktIncompatible // java.io.ObjectInputStream private void readObject(ObjectInputStream stream) throws InvalidObjectException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 41.2K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Transport.java
import jcifs.smb.RequestParam; /** * 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. */ /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* more information, see the comments in that class. * * We already know that that's how it behaves, and subclasses of Converter can't change that * behavior. So there's no sense in making all subclass authors exclude the method from any * NullPointerTester tests that they have. */ ignoredMembers.add(Converter.class.getMethod("apply", Object.class));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java
// Helper Classes // ================ /** * Testable subclass that bypasses ComponentUtil dependencies. * This allows testing the filter logic without requiring the DI container. */ private static class TestableLoadControlFilter extends LoadControlFilter {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 33.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* * <p>Subclasses are guaranteed that the life cycle methods ({@link #runOneIteration}, {@link * #startUp} and {@link #shutDown}) will never run concurrently. Notably, if any execution of {@link * #runOneIteration} takes longer than its schedule defines, then subsequent executions may start * late. Also, all life cycle methods are executed with a lock held, so subclasses can safely modify
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 27.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
final TestableGroovyEngine testEngine = new TestableGroovyEngine(); assertEquals("groovy", testEngine.testGetName()); } /** * Testable GroovyEngine subclass for testing protected methods */ static class TestableGroovyEngine extends GroovyEngine { boolean logScriptExecutionCalled = false; String lastLoggedScript = null;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
@Override public void setReadTimeout(int timeout) { this.recordedReadTimeout = timeout; super.setReadTimeout(timeout); } } /** * CurlRequest subclass that overrides only open(URL) to inject a mock connection. * This ensures the real connect() code path is exercised (timeout, headers, onConnect, etc.). */ class OpenOverrideCurlRequest extends CurlRequest {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0)