- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 302 for Ordering (0.07 sec)
-
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
import com.google.common.base.Supplier; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Ordering; import com.google.common.collect.Sets; import com.google.common.testing.GcFinalization; import com.google.common.testing.NullPointerTester; import java.lang.ref.WeakReference; import java.util.List;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/StandardRowSortedTable.java
import java.util.Map; import java.util.Set; import java.util.SortedMap; import java.util.SortedSet; import javax.annotation.CheckForNull; /** * Implementation of {@code Table} whose iteration ordering across row keys is sorted by their * natural ordering or by a supplied comparator. Note that iterations across the columns keys for a * single row key may or may not be ordered, depending on the implementation. When rows and columns
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 15 15:41:16 UTC 2021 - 4.3K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java
} private void updateFileIfChanged() throws IOException { String path = "META-INF/maven/org.apache.maven.api.di.Inject"; Set<String> existingClasses = new TreeSet<>(); // Using TreeSet for natural ordering String existingContent = ""; // Try to read existing content try { FileObject inputFile = processingEnv.getFiler().getResource(StandardLocation.CLASS_OUTPUT, "", path);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Sep 16 06:25:19 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/StandardRowSortedTable.java
import java.util.Map; import java.util.Set; import java.util.SortedMap; import java.util.SortedSet; import javax.annotation.CheckForNull; /** * Implementation of {@code Table} whose iteration ordering across row keys is sorted by their * natural ordering or by a supplied comparator. Note that iterations across the columns keys for a * single row key may or may not be ordered, depending on the implementation. When rows and columns
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 15 15:41:16 UTC 2021 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/GeneralRange.java
import java.io.Serializable; import java.util.Comparator; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A generalized interval on any ordering, for internal use. Supports {@code null}. Unlike {@link * Range}, this allows the use of an arbitrary comparator. This is designed for use in the * implementation of subcollections of sorted collection types. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
* @author Sverre Sundsdal */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class MinMaxPriorityQueueTest extends TestCase { private static final Ordering<Integer> SOME_COMPARATOR = Ordering.<Integer>natural().reverse(); @J2ktIncompatible @GwtIncompatible // suite public static Test suite() { TestSuite suite = new TestSuite();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
public boolean intersects(Range<C> otherRange) { int ceilingIndex = SortedLists.binarySearch( ranges, Range::lowerBound, otherRange.lowerBound, Ordering.natural(), ANY_PRESENT, NEXT_HIGHER); if (ceilingIndex < ranges.size() && ranges.get(ceilingIndex).isConnected(otherRange)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27K bytes - Viewed (0) -
lib/time/mkzip.go
// go run ../../mkzip.go ../../zoneinfo.zip // // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get // a reproducible generator that does not depend on which version of the // external zip tool is used or the ordering of file names in a directory // or the current time. package main import ( "archive/zip" "bytes" "flag" "fmt" "hash/crc32" "io/fs" "log" "os" "path/filepath" "strings" )
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Mar 04 17:32:07 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java
protected abstract Multiset<AnEnum> create(AnEnum[] elements); @Override public AnEnum[] createArray(int length) { return new AnEnum[length]; } /** Sorts the enums according to their natural ordering. */ @Override public List<AnEnum> order(List<AnEnum> insertionOrder) { sort(insertionOrder); return insertionOrder; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/GeneralRange.java
import java.io.Serializable; import java.util.Comparator; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A generalized interval on any ordering, for internal use. Supports {@code null}. Unlike {@link * Range}, this allows the use of an arbitrary comparator. This is designed for use in the * implementation of subcollections of sorted collection types. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.8K bytes - Viewed (0)