- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 199 for Comparators (0.06 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseComparator.java
* under the License. */ package org.apache.maven.lifecycle.internal; import java.util.Comparator; import java.util.List; /** * Compares phases within the context of a specific lifecycle with secondary sorting based on the {@link PhaseId}. */ public class PhaseComparator implements Comparator<String> { /** * The lifecycle phase ordering. */ private final List<String> lifecyclePhases;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Dec 13 23:04:37 GMT 2024 - 2.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Collections2.java
Iterable<E> elements, Comparator<? super E> comparator) { return new OrderedPermutationCollection<E>(elements, comparator); } private static final class OrderedPermutationCollection<E> extends AbstractCollection<List<E>> { final ImmutableList<E> inputList; final Comparator<? super E> comparator; final int size; OrderedPermutationCollection(Iterable<E> input, Comparator<? super E> comparator) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/GeneralRange.java
Comparator<? super T> comparator, @ParametricNullness T endpoint, BoundType boundType) { return new GeneralRange<>(comparator, true, endpoint, boundType, false, null, OPEN); } /** * Returns everything below the endpoint relative to the specified comparator, with the specified * endpoint behavior. */ static <T extends @Nullable Object> GeneralRange<T> upTo(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/GeneralRange.java
Comparator<? super T> comparator, @ParametricNullness T endpoint, BoundType boundType) { return new GeneralRange<>(comparator, true, endpoint, boundType, false, null, OPEN); } /** * Returns everything below the endpoint relative to the specified comparator, with the specified * endpoint behavior. */ static <T extends @Nullable Object> GeneralRange<T> upTo(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
* <li>SORTED: ordering according to a supplied comparator is guaranteed. * </ul> */ public enum Type { UNORDERED, STABLE, INSERTION, SORTED } private ElementOrder(Type type, @Nullable Comparator<T> comparator) { this.type = checkNotNull(type); this.comparator = comparator; checkState((type == Type.SORTED) == (comparator != null)); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 6.6K bytes - Click Count (0) -
guava/src/com/google/common/graph/ElementOrder.java
* <li>SORTED: ordering according to a supplied comparator is guaranteed. * </ul> */ public enum Type { UNORDERED, STABLE, INSERTION, SORTED } private ElementOrder(Type type, @Nullable Comparator<T> comparator) { this.type = checkNotNull(type); this.comparator = comparator; checkState((type == Type.SORTED) == (comparator != null)); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ComparatorOrdering.java
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) { this.comparator = checkNotNull(comparator); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 1.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/TreeMultiset.java
* ClassCastException}. * * @param comparator the comparator that will be used to sort this multiset. A null value * indicates that the elements' <i>natural ordering</i> should be used. */ @SuppressWarnings("unchecked") public static <E extends @Nullable Object> TreeMultiset<E> create( @Nullable Comparator<? super E> comparator) { return (comparator == null)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 34.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
private final transient long[] cumulativeCounts; private final transient int offset; private final transient int length; RegularImmutableSortedMultiset(Comparator<? super E> comparator) { this.elementSet = ImmutableSortedSet.emptySet(comparator); this.cumulativeCounts = zeroCumulativeCounts; this.offset = 0; this.length = 0; } RegularImmutableSortedMultiset(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.3K bytes - Click Count (0)