- Sort Score
- Result 10 results
- Languages All
Results 1801 - 1810 of 1,924 for Instance (0.08 sec)
-
guava-tests/test/com/google/common/io/ByteSinkTester.java
import java.io.OutputStream; import java.lang.reflect.Method; import java.util.Map.Entry; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * A generator of {@code TestSuite} instances for testing {@code ByteSink} implementations. * Generates tests of all methods on a {@code ByteSink} given various inputs written to it as well * as sub-suites for testing the {@code CharSink} view in the same way. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java
import org.apache.maven.project.MavenProject; import org.apache.maven.project.artifact.InvalidDependencyVersionException; /** * Default component responsible for creation of MavenProject#dependencyArtifacts instances. */ @SuppressWarnings("deprecation") @Named public class DefaultProjectArtifactFactory implements ProjectArtifactFactory { private final ArtifactFactory artifactFactory; @InjectRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractListMultimap.java
*/ @Override public Map<K, Collection<V>> asMap() { return super.asMap(); } /** * Compares the specified object to this multimap for equality. * * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same values * in the same order. If the value orderings disagree, the multimaps will not be considered equal. */ @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/Subscriber.java
} @Override public final boolean equals(@Nullable Object obj) { if (obj instanceof Subscriber) { Subscriber that = (Subscriber) obj; // Use == so that different equal instances will still receive events. // We only guard against the case that the same object is registered // multiple times return target == that.target && method.equals(that.method); } return false;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
this.forward = original; this.backward = original.inverse(); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * Returns {@link Method} instances for the tests that assume that the inverse will be the same * after serialization. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getInverseSameAfterSerializingMethods() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
public void testAddNullReference() { assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null)); } /** Test equalObjects after adding multiple instances at once with a null */ public void testAddTwoEqualObjectsAtOnceWithNull() { assertThrows( NullPointerException.class, () -> equalsTester.addEqualityGroup(reference, equalObject1, null)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
assertTrue(testHandler instanceof jcifs.http.Handler); assertEquals(443, testHandler.getDefaultPort()); } @Test @DisplayName("Should handle multiple instances") void testMultipleInstances() { // When Handler handler1 = new Handler(null); Handler handler2 = new Handler(null); Handler handler3 = new Handler(null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
* throws an {@link IllegalArgumentException} when presented with duplicate elements instead of * collapsing them to a single element or including duplicate instances in the collection. */ REJECTS_DUPLICATES_AT_CREATION, SUPPORTS_ADD, SUPPORTS_REMOVE, SUPPORTS_ITERATOR_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION, /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
import java.util.Objects; import java.util.Set; import java.util.function.BiFunction; import org.jspecify.annotations.Nullable; /** * A general-purpose bimap implementation using any two backing {@code Map} instances. * * <p>Note that this class contains {@code equals()} calls that keep it from supporting {@code * IdentityHashMap} backing maps. * * @author Kevin Bourrillion * @author Mike Bostock */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 14.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/MessageDigestHashFunction.java
import java.nio.ByteBuffer; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Arrays; /** * {@link HashFunction} adapter for {@link MessageDigest} instances. * * @author Kevin Bourrillion * @author Dimitris Andreou */ @Immutable final class MessageDigestHashFunction extends AbstractHashFunction implements Serializable {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.9K bytes - Viewed (0)