- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 229 for subclasses (0.07 sec)
-
guava/src/com/google/common/cache/CacheLoader.java
* } * * @author Charles Fry * @since 10.0 */ @GwtCompatible public abstract class CacheLoader<K, V> { /** Constructor for use by subclasses. */ protected CacheLoader() {} /** * Computes or retrieves the value corresponding to {@code key}. * * @param key the non-null key whose value should be loaded
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
* class. For example, testing that {@code nodes()} method returns the set of the nodes in the * graph. The following test cases are left for the subclasses to handle: * * <ul> * <li>Test cases related to whether the graph is directed, undirected, mutable, or immutable. * <li>Test cases related to the specific implementation of the {@link Network} interface. * </ul>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 32.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* Returns a builder that builds the unserialized type. Subclasses should override this method. */ Builder<K, V> makeBuilder(int size) { return new Builder<>(size); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * Returns a serializable form of this object. Non-public subclasses should not override this
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
} index++; } return index; } /** * Escapes a code point that has no direct explicit value in the replacement array and lies * outside the stated safe range. Subclasses should override this method to provide generalized * escaping for code points if required. * * <p>Note that arrays returned by this method must not be modified once they have been returned.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 8.5K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
And these models are all sharing a lot of the data and duplicating attribute names and types. We could do better. We can declare a `UserBase` model that serves as a base for our other models. And then we can make subclasses of that model that inherit its attributes (type declarations, validation, etc). All the data conversion, validation, documentation, etc. will still work as normally.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* Returns a builder that builds the unserialized type. Subclasses should override this method. */ Builder<K, V> makeBuilder(int size) { return new Builder<>(size); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * Returns a serializable form of this object. Non-public subclasses should not override this
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
} catch (ClassCastException wastNotComparableToOurType) { return false; } } return false; } // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it @Override public abstract int hashCode(); /* * The implementation neither produces nor consumes any non-null instance of type C, so * casting the type parameter is safe. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Base class for tests for emulated {@link AbstractFuture} that allow subclasses to swap in a * different "source Future" for {@link AbstractFuture#setFuture} calls. */ @GwtCompatible @NullUnmarked abstract class AbstractAbstractFutureTest extends TestCase { private TestedFuture<Integer> future;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
/** * Helper classes for various benchmarks. * * @author Christopher Swenson */ @NullUnmarked final class BenchmarkHelpers { /** So far, this is the best way to test various implementations of {@link Set} subclasses. */ public interface CollectionsImplEnum { <E extends Comparable<E>> Collection<E> create(Collection<E> contents); String name(); } public interface MapsImplEnum {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
* * @author Luke Sandberg * @since 15.0 (present as an interface in 13.0) */ abstract class Listener { /** Constructor for use by subclasses. */ public Listener() {} /** * Called when the service transitions from {@linkplain State#NEW NEW} to {@linkplain
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 10.8K bytes - Viewed (0)