- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,470 for instance1 (0.18 sec)
-
src/test/java/jcifs/smb1/util/LogStreamTest.java
// Test getInstance when no instance has been set // Should default to System.err LogStream instance = LogStream.getInstance(); assertNotNull(instance); // Getting instance again should return the same instance LogStream instance2 = LogStream.getInstance(); assertSame(instance, instance2); } @Test void testSetInstanceAndGetInstance() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
SmbShareInfo instance3 = new SmbShareInfo("SHARE2", 0, "remark1"); Object notAShareInfo = new Object(); assertTrue(instance1.equals(instance2)); // Should be equal based on netName assertFalse(instance1.equals(instance3)); // Should not be equal assertFalse(instance1.equals(notAShareInfo)); // Should not be equal to other types
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
// Given SmbComTreeDisconnect instance1 = new SmbComTreeDisconnect(config); SmbComTreeDisconnect instance2 = new SmbComTreeDisconnect(mockConfig); // Then assertNotSame(instance1, instance2); assertEquals(instance1.getCommand(), instance2.getCommand()); assertNotEquals(instance1.toString(), instance2.toString()); // Different object references in toString }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
assertEquals("instance2", transformer2.getName()); assertEquals("instance3", transformer3.getName()); // Change one instance's name transformer2.setName("changed2"); // Others should remain unchanged assertEquals("instance1", transformer1.getName()); assertEquals("changed2", transformer2.getName());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Cut.java
* way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily * "numbers") into two sections; this can be done below a certain value, above a certain value, * below all values or above all values. With this object defined in this way, an interval can * always be represented by a pair of {@code Cut} instances. * * @author Kevin Bourrillion */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
* way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily * "numbers") into two sections; this can be done below a certain value, above a certain value, * below all values or above all values. With this object defined in this way, an interval can * always be represented by a pair of {@code Cut} instances. * * @author Kevin Bourrillion */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
assertFalse(iterator2.hasNext(), "Second instance should have no elements"); assertFalse(iterator3.hasNext(), "Third instance should have no elements"); assertNull(iterator1.next(), "First instance next() should return null"); assertNull(iterator2.next(), "Second instance next() should return null");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interners.java
} } /** Returns a fresh {@link InternerBuilder} instance. */ public static InternerBuilder newBuilder() { return new InternerBuilder(); } /** * Returns a new thread-safe interner which retains a strong reference to each instance it has * interned, thus preventing these instances from being garbage-collected. If this retention isRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interners.java
} } /** Returns a fresh {@link InternerBuilder} instance. */ public static InternerBuilder newBuilder() { return new InternerBuilder(); } /** * Returns a new thread-safe interner which retains a strong reference to each instance it has * interned, thus preventing these instances from being garbage-collected. If this retention isRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
} } // Instance stuff here // The array is never mutated after storing in this field and the construction strategies ensure // it doesn't escape this class @SuppressWarnings("Immutable") private final long[] array; /* * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0)