- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 309 for Ordering (0.06 seconds)
-
android/guava/src/com/google/common/collect/CompactHashMap.java
* * <p>If there are no removals, then iteration order for the {@link #entrySet}, {@link #keySet}, and * {@link #values} views 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.HashMap}. * Generally speaking, this class reduces object allocation and memory consumption at the price ofCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0) -
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 sameCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 22.1K bytes - Click Count (0) -
android/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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
return insertionOrder; } /** * 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. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 17.2K bytes - Click Count (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 toCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 21.4K bytes - Click Count (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) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Sep 24 22:52:18 GMT 2025 - 28.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
} /** * This test will fail whenever someone updates/reorders the BloomFilterStrategies constants. Only * appending a new constant is allowed. */ // This test ensures that our reliance on the ordering elsewhere is safe. @SuppressWarnings("EnumOrdinal") public void testBloomFilterStrategies() { assertThat(BloomFilterStrategies.values()).hasLength(2);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 22.1K bytes - Click Count (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 @SuppressWarnings("checkstyle:MethodLength") void testIntersections() throws InvalidVersionSpecificationException {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 44.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
// </mirrors> for (Mirror mirror : settings.getMirrors()) { request.addMirror(new org.apache.maven.settings.Mirror(mirror)); } // Collect repositories; are sensitive to ordering LinkedHashMap<String, Repository> remoteRepositories = new LinkedHashMap<>(); LinkedHashMap<String, Repository> remotePluginRepositories = new LinkedHashMap<>(); // settings/repositoriesCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* * @param <E> the element type of {@link PriorityBlockingQueue} * @param initialCapacity the initial capacity of the priority queue * @param comparator the comparator for ordering the elements in the priority queue * @return a new instance of {@link PriorityBlockingQueue} * @see PriorityBlockingQueue#PriorityBlockingQueue(int, Comparator) */Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 49.9K bytes - Click Count (0)