- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 727 for examples (0.05 sec)
-
android/guava/src/com/google/common/base/MoreObjects.java
throw new NullPointerException("Both parameters are null"); } /** * Creates an instance of {@link ToStringHelper}. * * <p>This is helpful for implementing {@link Object#toString()}. Specification by example: * * {@snippet : * // Returns "ClassName{}" * MoreObjects.toStringHelper(this) * .toString(); * * // Returns "ClassName{x=1}" * MoreObjects.toStringHelper(this)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
throw new RuntimeException(e); } } @Test @DisplayName("Parses a valid buffer and exposes fields") void parseValidBuffer() { // Arrange String name = "user@EXAMPLE.COM"; byte[] buf = buildBuffer(oidDer(), name.getBytes(StandardCharsets.US_ASCII)); // Act MIEName parsed = new MIEName(buf); // Assert
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
import org.jspecify.annotations.Nullable; /** * Tests that all {@code public static} methods "inherited" from superclasses are "overridden" in * each immutable-collection class. This ensures, for example, that a call written "{@code * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}. * * @author Chris Povirk */ @NullUnmarked public class FauxveridesTest extends TestCase {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
import org.jspecify.annotations.Nullable; /** * Tests that all {@code public static} methods "inherited" from superclasses are "overridden" in * each immutable-collection class. This ensures, for example, that a call written "{@code * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}. * * @author Chris Povirk */ @NullUnmarked public class FauxveridesTest extends TestCase {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 6.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java
* the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link * #add(Object, int)} alone <b>will not</b> change the behavior of {@link #add(Object)}, which can * lead to unexpected behavior. In this case, you should override {@code add(Object)} as well,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
// // The `table` array always has a size that is a power of 2. The hashcode of a key in the map // is masked in order to correspond to the current table size. For example, if the table size // is 128 then the mask is 127 == 0x7f, keeping the bottom 7 bits of the hash value. // If a key hashes to 0x89abcdef the mask reduces it to 0x89abcdef & 0x7f == 0x6f. We'll call this // the "short hash".
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* NullPointerTester}, {@link EqualsTester} and {@link SerializableTester}. For example: * * <pre> * public class PackageSanityTests extends AbstractPackageSanityTests {} * </pre> * * <p>Note that only top-level classes with either a non-private constructor or a non-private static * factory method to construct instances can have their instance methods checked. For example: * * <pre> * public class Address {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
* 'affect' a bit(j) in the output if two inputs, identical but for bit(i), will differ at output * bit(j) about half the time * * <p>Funneling is pretty simple to detect. The key idea is to find example keys which * unequivocally demonstrate that funneling cannot be occurring. This is done bit-by-bit. For each * input bit(i) and output bit(j), two pairs of keys must be found with all bits identical except
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
suite.addTest( SetTestSuiteBuilder.using( new TestCellSetGenerator() { @Override public SampleElements<Cell<String, Integer, Character>> samples() { return new SampleElements<>( immutableCell("bar", 1, 'a'), immutableCell("bar", 2, 'b'),Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.5K bytes - Viewed (0)