- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 395 for Ordering (0.23 seconds)
-
android/guava/src/com/google/common/collect/LexicographicalOrdering.java
import java.io.Serializable; import java.util.Comparator; import java.util.Iterator; import org.jspecify.annotations.Nullable; /** An ordering which sorts iterables by comparing corresponding elements pairwise. */ @GwtCompatible final class LexicographicalOrdering<T extends @Nullable Object> extends Ordering<Iterable<T>> implements Serializable { final Comparator<? super T> elementOrder;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/LexicographicalOrdering.java
import java.io.Serializable; import java.util.Comparator; import java.util.Iterator; import org.jspecify.annotations.Nullable; /** An ordering which sorts iterables by comparing corresponding elements pairwise. */ @GwtCompatible final class LexicographicalOrdering<T extends @Nullable Object> extends Ordering<Iterable<T>> implements Serializable { final Comparator<? super T> elementOrder;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseComparator.java
*/ public class PhaseComparator implements Comparator<String> { /** * The lifecycle phase ordering. */ private final List<String> lifecyclePhases; /** * Constructor. * * @param lifecyclePhases the lifecycle phase ordering. */ public PhaseComparator(List<String> lifecyclePhases) { this.lifecyclePhases = lifecyclePhases; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Dec 13 23:04:37 GMT 2024 - 2.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java
* Create integer sets for testing collections that are sorted by natural ordering. * * @author Chris Povirk * @author Jared Levy */ @GwtCompatible @NullMarked public abstract class TestIntegerSortedSetGenerator extends TestIntegerSetGenerator { @Override protected abstract SortedSet<Integer> create(Integer[] elements); /** Sorts the elements by their natural ordering. */ /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java
import com.google.common.annotations.GwtCompatible; import java.util.List; import java.util.SortedSet; import org.jspecify.annotations.NullMarked; /** * Create string sets for testing collections that are sorted by natural ordering. * * @author Jared Levy */ @GwtCompatible @NullMarked public abstract class TestStringSortedSetGenerator extends TestStringSetGenerator implements TestSortedSetGenerator<String> { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ComparatorOrdering.java
import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import java.util.Comparator; import org.jspecify.annotations.Nullable; /** An ordering for a pre-existing comparator. */ @GwtCompatible final class ComparatorOrdering<T extends @Nullable Object> extends Ordering<T> implements Serializable { final Comparator<T> comparator; ComparatorOrdering(Comparator<T> comparator) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompoundOrdering.java
import java.io.Serializable; import java.util.Arrays; import java.util.Comparator; import org.jspecify.annotations.Nullable; /** An ordering that tries several comparators in order. */ @GwtCompatible final class CompoundOrdering<T extends @Nullable Object> extends Ordering<T> implements Serializable { final Comparator<? super T>[] comparators; @SuppressWarnings("unchecked") // Generic array creation
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java
assertEquals("1.2.3-20090413X094722-2", ArtifactUtils.toSnapshotVersion("1.2.3-20090413X094722-2")); } /** * Tests that the ordering of the map resembles the ordering of the input collection of artifacts. */ @Test void testArtifactMapByVersionlessIdOrdering() throws Exception { List<Artifact> list = new ArrayList<>();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java
import com.google.common.annotations.GwtCompatible; import java.util.List; import java.util.SortedSet; import org.jspecify.annotations.NullMarked; /** * Create string sets for testing collections that are sorted by natural ordering. * * @author Jared Levy */ @GwtCompatible @NullMarked public abstract class TestStringSortedSetGenerator extends TestStringSetGenerator implements TestSortedSetGenerator<String> { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedMultiset.java
@GwtCompatible public interface SortedMultiset<E extends @Nullable Object> extends SortedMultisetBridge<E>, SortedIterable<E> { /** * Returns the comparator that orders this multiset, or {@link Ordering#natural()} if the natural * ordering of the elements is used. */ @Override Comparator<? super E> comparator(); /** * Returns the entry of the first element in this multiset, or {@code null} if this multiset is
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.4K bytes - Click Count (0)