- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 275 for subclass (0.08 seconds)
-
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
import java.util.function.ObjIntConsumer; import org.jspecify.annotations.Nullable; /** * Basic implementation of {@code Multiset<E>} backed by an instance of {@code Map<E, Count>}. * * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code * writeObject} methods. * * @author Kevin Bourrillion */ @GwtCompatibleCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
* * <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 * @param <E> Edge parameter type * @since 20.0 */ @Beta public abstract class AbstractNetwork<N, E> implements Network<N, E> { /** Constructor for use by subclasses. */ public AbstractNetwork() {} @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 10K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Ordering.java
* <i>chaining</i>, and <i>using</i>. * * <h4>Acquiring</h4> * * <p>The common ways to get an instance of {@code Ordering} are: * * <ul> * <li>Subclass it and implement {@link #compare} instead of implementing {@link Comparator} * directly * <li>Pass a <i>pre-existing</i> {@link Comparator} instance to {@link #from(Comparator)}
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.5K bytes - Click Count (0) -
guava/src/com/google/common/graph/AbstractNetwork.java
* * <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 * @param <E> Edge parameter type * @since 20.0 */ @Beta public abstract class AbstractNetwork<N, E> implements Network<N, E> { /** Constructor for use by subclasses. */ public AbstractNetwork() {} @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Types.java
private static ClassOwnership detectJvmBehavior() { class LocalClass<T> {} Class<?> subclass = new LocalClass<String>() {}.getClass(); // requireNonNull is safe because we're examining a type that's known to have a superclass. ParameterizedType parameterizedType = requireNonNull((ParameterizedType) subclass.getGenericSuperclass()); for (ClassOwnership behavior : ClassOwnership.values()) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
} return request; } // layer the creation of a project builder configuration with a request, but this will need to be // a Maven subclass because we don't want to couple maven to the project builder which we need to // separate. protected MavenSession createMavenSession(File pom) throws Exception { return createMavenSession(pom, new Properties());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 12.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
* situations, you may wish to override {@link ForwardingMultiset#elementSet} to forward to this * implementation or a subclass thereof. * * @since 10.0 */ protected class StandardElementSet extends Multisets.ElementSet<E> { /** Constructor for use by subclasses. */ public StandardElementSet() {} @Override Multiset<E> multiset() { return ForwardingMultiset.this; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.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 Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* elements and to build again. * * @since 2.0 */ public static class Builder<E> extends ImmutableCollection.Builder<E> { /* * `impl` is null only for instances of the subclass, ImmutableSortedSet.Builder. That subclass * overrides all the methods that access it here. Thus, all the methods here can safely assume * that this field is non-null. */ private @Nullable SetBuilderImpl<E> impl;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0)