- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 287 for Ordering$ (0.06 sec)
-
guava/src/com/google/common/collect/MapMakerInternalMap.java
* across different segments. * * The page replacement algorithm's data structures are kept casually consistent with the map. The * ordering of writes to a segment is sequentially consistent. An update to the map and recording * of reads may not be immediately reflected on the algorithm's data structures. These structures
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 90.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* not in {@link #nextElements}, this method throws an {@link UnknownElementException}. * * <p>This method is used when testing iterators without a known ordering. We poll the target * iterator's next element and pass it to the reference iterator through this method so it can * return the same element. This enables the assertion to pass and the reference iterator to
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* <li><b>Deterministic iteration.</b> The iteration order is always well-defined, depending on * how the collection was created. Typically this is insertion order unless an explicit * ordering is otherwise specified (e.g. {@link ImmutableSortedSet#naturalOrder}). See the * appropriate factory method for details. View collections such as {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
}; static final Supplier<TreeSet<String>> STRING_TREESET_FACTORY = new Supplier<TreeSet<String>>() { @Override public TreeSet<String> get() { return new TreeSet<>(Ordering.natural().nullsLast()); } }; static void populateMultimapForGet(Multimap<Integer, String> multimap, String[] elements) { multimap.put(2, "foo"); for (String element : elements) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.9K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
checkInvalidRange("[1.0,1.2),1.3"); // overlap checkInvalidRange("[1.0,1.2),(1.1,1.3]"); // overlap checkInvalidRange("[1.1,1.3),(1.0,1.2]"); // ordering checkInvalidRange("(1.1,1.2],[1.0,1.1)"); } @Test void testIntersections() throws InvalidVersionSpecificationException { VersionRange range1 = VersionRange.createFromVersionSpec("1.0");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 44.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
* build-system quirks. */ private @interface GwtTransient {} /** * Compares strings in natural order except that null comes immediately before a given value. This * works better than Ordering.natural().nullsFirst() because, if null comes before all other * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that * exercise null handling fail on those subcollections. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
/** * Returns a comparator that compares two {@code char} arrays <a * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>; not advisable * for sorting user-visible strings as the ordering may not match the conventions of the user's * locale. That is, it compares, using {@link #compare(char, char)}), the first pair of values
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 23.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FluentFuture.java
* computation is {@linkplain java.util.concurrent.Future#isDone() complete} or, if the * computation is already complete, immediately. * * <p>The callback is run on {@code executor}. There is no guaranteed ordering of execution of * callbacks, but any callback added through this method is guaranteed to be called once the * computation is complete. * * <p>Example: * * <pre>{@code * future.addCallback(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 19.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
*/ private static final class ThreadConfinedTaskQueue { /** * This field is only used for identity comparisons with the current thread. Field assignments * are atomic, but do not provide happens-before ordering; however: * * <ul> * <li>If this field's value == currentThread, we know that it's up to date, because write * operations in a thread always happen-before subsequent read operations in the same
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 22.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
* average, in the marking phase, not {@code 5.0} as in {@code java.util.HashSet}. * * <p>If there are no removals, then {@link #iterator iteration} order is the same as insertion * order. Any removal invalidates any ordering guarantees. * * <p>This class should not be assumed to be universally superior to {@code java.util.HashSet}. * Generally speaking, this class reduces object allocation and memory consumption at the price of
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24.9K bytes - Viewed (0)