- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 153 for Comparable (0.05 sec)
-
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;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5K bytes - Viewed (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) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Apr 10 20:12:40 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (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"})Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
import java.util.Set; import java.util.SortedMap; import java.util.TreeMap; import org.jspecify.annotations.Nullable; /** * A wrapper around {@code TreeMap} that aggressively checks to see if keys are mutually comparable. * This implementation passes the navigable map test suites. * * @author Louis Wasserman */ @GwtIncompatible public final class SafeTreeMap<K, V> implements Serializable, NavigableMap<K, V> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 7.5K bytes - Viewed (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";
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (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) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8.1K bytes - Viewed (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);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (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) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0)