- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 152 for Comparable (0.05 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
import org.apache.maven.artifact.ArtifactScopeEnum; /** * metadata graph vertice - just a wrapper around artifact's metadata * */ @Deprecated public class MetadataGraphVertex implements Comparable<MetadataGraphVertex> { ArtifactMetadata md; // indications to use these in comparison private boolean compareVersion = false; private boolean compareScope = false;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedLists.java
* KeyAbsentBehavior)} using {@link Ordering#natural}. */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 public static <E extends Comparable> int binarySearch( List<? extends E> list, E e, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) { checkNotNull(e);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 15.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/ElementOrderTest.java
public String toString() { return "value=" + value; } } @SuppressWarnings("ComparableType") private static class ComparableSubClass extends NonComparableSuperClass implements Comparable<NonComparableSuperClass> { ComparableSubClass(Integer value) { super(value); } @Override public int compareTo(NonComparableSuperClass other) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 8.1K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java
/** * A benchmark to determine the overhead of sorting with {@link Ordering#from(Comparator)}, or with * {@link Ordering#natural()}, as opposed to using the inlined {@link Arrays#sort(Object[])} * implementation, which uses {@link Comparable#compareTo} directly. * * @author Louis Wasserman */ @NullUnmarked public class ComparatorDelegationOverheadBenchmark { private final Integer[][] inputArrays = new Integer[0x100][]; @Param({"10000"})Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 15.7K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
/** * Maven Artifact interface. Notice that it mixes artifact definition concepts (groupId, artifactId, version) * with dependency information (version range, scope). */ public interface Artifact extends Comparable<Artifact> { @Deprecated(since = "4.0.0") String RELEASE_VERSION = "RELEASE"; @Deprecated(since = "4.0.0") String LATEST_VERSION = "LATEST"; String SNAPSHOT_VERSION = "SNAPSHOT";
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
import org.jspecify.annotations.Nullable; /** * An unhashable object to be used in testing as values in our collections. * * @author Regina O'Dell */ @GwtCompatible public class UnhashableObject implements Comparable<UnhashableObject> { private final int value; public UnhashableObject(int value) { this.value = value; } @Override public boolean equals(@Nullable Object object) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Apr 10 20:12:40 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java
package org.apache.maven.artifact; import java.util.HashMap; import java.util.Map; /** * Type safe enumeration for the artifact status field. * */ @Deprecated public final class ArtifactStatus implements Comparable<ArtifactStatus> { /** * No trust - no information about status. */ public static final ArtifactStatus NONE = new ArtifactStatus("none", 0); /**
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
return set; } private Element newElement() { int value = random.nextInt(); return isUserTypeFast ? new Element(value) : new SlowElement(value); } static class Element implements Comparable<Element> { final int hash; Element(int hash) { this.hash = hash; } @Override public boolean equals(@Nullable Object obj) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0)