- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 79 for SubSet (0.38 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
disjoint = new Target(disjointList, "disjoint"); superset = new Target(MinimalCollection.of(e0(), e1(), e2(), e3(), e4()), "superset"); nonEmptyProperSubset = new Target(MinimalCollection.of(e1()), "subset"); sameElements = new Target(asList(createSamplesArray()), "sameElements"); containsDuplicates = new Target(MinimalCollection.of(e0(), e0(), e3(), e3()), "containsDuplicates");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java
public void testRetainAll_duplicatesRemoved() { E[] array = createSamplesArray(); array[1] = e0(); collection = getSubjectGenerator().create(array); assertTrue( "containsDuplicates.retainAll(subset) should return true", collection.retainAll(MinimalCollection.of(e2()))); expectContents(e2()); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* but was not itself a public suffix. However, this test is no longer accurate. There are many * domains which are both public suffixes and addressable as hosts; {@code "uk.com"} is one example. * Using the subset of public suffixes that are {@linkplain #isRegistrySuffix() registry suffixes}, * one can get a better result, as only a few registry suffixes are addressable. However, the most
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* <li>remove(); * <li>next(); * </ol> * * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be * thought of as overkill; however, it's difficult to determine which proper subset of this massive * set would be sufficient to expose any possible bug. Brute force is simpler. * * <p>To use this class the concrete subclass must implement the {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
CONTRIBUTING.md
[Java style guide]: https://google.github.io/styleguide/javaguide.html [well-formed commit message]: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html #### Merging pull requests #### Due to Guava's nature as a subset of Google's internal codebase which is automatically synced to the public GitHub repository, we are unable to merge pull requests directly into the master branch. Instead, once a pull request is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 3.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* <li>remove(); * <li>next(); * </ol> * * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be * thought of as overkill; however, it's difficult to determine which proper subset of this massive * set would be sufficient to expose any possible bug. Brute force is simpler. * * <p>To use this class the concrete subclass must implement the {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
private static long fingerprint(byte[] bytes) { return fingerprint(bytes, bytes.length); } /** Convenience method to compute a fingerprint on a subset of a byte array. */ private static long fingerprint(byte[] bytes, int length) { return HASH_FN.hashBytes(bytes, 0, length).asLong(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
assertEquals(Sets.<@Nullable String>newHashSet(null, "tree"), keySet.headSet("yahoo")); assertEquals(newHashSet("google"), keySet.tailSet("yahoo")); assertEquals(newHashSet("tree"), keySet.subSet("ask", "yahoo")); } @GwtIncompatible // SerializableTester public void testExplicitComparatorSerialization() { TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graphs.java
@Beta public final class Graphs extends GraphsBridgeMethods { private Graphs() {} // Graph query methods /** * Returns true if {@code graph} has at least one cycle. A cycle is defined as a non-empty subset * of edges in a graph arranged to form a path (a sequence of adjacent outgoing edges) starting * and ending with the same node. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graphs.java
@Beta public final class Graphs extends GraphsBridgeMethods { private Graphs() {} // Graph query methods /** * Returns true if {@code graph} has at least one cycle. A cycle is defined as a non-empty subset * of edges in a graph arranged to form a path (a sequence of adjacent outgoing edges) starting * and ending with the same node. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 23.3K bytes - Viewed (0)