- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 289 for compact (0.24 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
} @Override public Iterable<Entry<AnEnum, String>> order(List<Entry<AnEnum, String>> insertionOrder) { return new Ordering<Entry<AnEnum, String>>() { @Override public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) { return left.getKey().compareTo(right.getKey()); } }.sortedCopy(insertionOrder); } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0) -
CONTRIBUTING.md
project. - If you are an individual writing original source code and you're sure you own the intellectual property, then you'll need to sign an [individual CLA][]. Please include your GitHub username. - If you work for a company that wants to allow you to contribute your work, then you'll need to sign a [corporate CLA][]. You generally only need to submit a CLA once, so if you've already submitted
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 15 18:43:50 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
* operations at random. Each thread keeps track of the per-key deltas that it's directly * responsible for; after all threads have completed, we sum the per-key deltas and compare to the * existing multiset values. * * @author mike nonemacher */ @NullUnmarked public class ConcurrentHashMultisetBasherTest extends TestCase {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 22:42:14 UTC 2025 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
} @Override public int hashCode() { return hash; } @Override public int compareTo(Element that) { return Integer.compare(hash, that.hash); } @Override public String toString() { return String.valueOf(hash); } } static class SlowElement extends Element { SlowElement(int hash) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
return forUriStringOrNull(ipString, /* parseScope= */ false) != null; } /** * Evaluates whether the argument is an IPv6 "compat" address. * * <p>An "IPv4 compatible", or "compat", address is one with 96 leading bits of zero, with the * remaining 32 bits interpreted as an IPv4 address. These are conventionally represented in
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultisetTest.java
assertEquals(3, ms.size()); } public void testCustomComparator() throws Exception { Comparator<String> comparator = new Comparator<String>() { @Override public int compare(String o1, String o2) { return o2.compareTo(o1); } }; TreeMultiset<String> ms = TreeMultiset.create(comparator); ms.add("b"); ms.add("c"); ms.add("a");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
return new NullFriendlyComparator<>(); } private static final class NullFriendlyComparator<T> implements Comparator<T>, Serializable { @Override public int compare(T left, T right) { return String.valueOf(left).compareTo(String.valueOf(right)); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 15K bytes - Viewed (0) -
futures/failureaccess/pom.xml
</excludes> <compilerArgs> <!-- Make includes/excludes fully work: https://issues.apache.org/jira/browse/MCOMPILER-174 (Compare what guava-gwt has to do for maven-javadoc-plugin.) --> <arg>-sourcepath</arg> <arg>doesnotexist</arg> </compilerArgs> </configuration>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 02 19:27:26 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
public void testCompare() { for (char x : VALUES) { for (char y : VALUES) { assertWithMessage("%s, %s", x, y) .that(Math.signum(Chars.compare(x, y))) .isEqualTo(Math.signum(Character.compare(x, y))); } } } public void testContains() { assertThat(Chars.contains(EMPTY, (char) 1)).isFalse(); assertThat(Chars.contains(ARRAY1, (char) 2)).isFalse();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 25.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* of our TypeVariable implementation. * * - Under Android, it does. * * We want users to see the same behavior when they compare a built-in TypeVariable against * ours as they do when they perform the same comparison in reverse. To provide that * behavior on all platforms, TypeResolver must return the appropriate TypeVariableRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 22:30:05 UTC 2025 - 25.3K bytes - Viewed (0)