StackOverflow Questions for Tag: comparable

Anton
Anton

Reputation: 3289

Do tuples conform to Comparable?

Score: 3

Views: 241

Answers: 2

Read More
user4402596
user4402596

Reputation:

java - comparing numbers of different type, semantically

Score: 1

Views: 3253

Answers: 4

Read More
samuraiseoul
samuraiseoul

Reputation: 2967

Java Sorting: sort an array of objects by property, object not allowed to use Comparable

Score: 21

Views: 60906

Answers: 4

Read More
Chetan Kothari
Chetan Kothari

Reputation: 841

Creating exclusive ranges in Kotlin

Score: 60

Views: 24952

Answers: 4

Read More
DashwoodIce9
DashwoodIce9

Reputation: 383

Is using Classes as keys of a Map a bad idea?

Score: 2

Views: 143

Answers: 1

Read More
Saravana
Saravana

Reputation: 12817

comparing and thenComparing gives compile error

Score: 18

Views: 7369

Answers: 1

Read More
Vikki
Vikki

Reputation: 23

How to make an arraylist of string sorted by the second character

Score: 0

Views: 68

Answers: 2

Read More
b_erb
b_erb

Reputation: 21261

Comparing the values of two generic Numbers

Score: 75

Views: 60413

Answers: 13

Read More
Neil G
Neil G

Reputation: 33252

Comparable classes in Python 3

Score: 41

Views: 28373

Answers: 6

Read More
Rakesh .p
Rakesh .p

Reputation: 79

Internal working of timsort and compareTo() method in Comparable interface

Score: 0

Views: 65

Answers: 0

Read More
parthivrshah
parthivrshah

Reputation: 674

sort results in ascending return in the form A, a, B, b... in Java

Score: 1

Views: 617

Answers: 3

Read More
kesarling
kesarling

Reputation: 2260

How to compare two different generic instantiations of a class in Java?

Score: -2

Views: 94

Answers: 2

Read More
James Cadd
James Cadd

Reputation: 12216

LINQ: Use .Except() on collections of different types by making them convertible/comparable?

Score: 12

Views: 16470

Answers: 5

Read More
Remo
Remo

Reputation: 1412

Java8 Null-safe comparison

Score: 8

Views: 6570

Answers: 2

Read More
JoPoLu
JoPoLu

Reputation: 21

Best way to deal with some classes implementing comparable and some not in a Binary search tree

Score: 1

Views: 68

Answers: 2

Read More
Toran Billups
Toran Billups

Reputation: 27407

Comparing Long values using Collections.sort(object)

Score: 30

Views: 63377

Answers: 6

Read More
twentyfourk
twentyfourk

Reputation: 35

invalid operation: v > max (type parameter T is not comparable with >)

Score: 0

Views: 450

Answers: 1

Read More
Arturs Vancans
Arturs Vancans

Reputation: 4640

Unable to implement Comparable interface on Kotlin Enum

Score: 4

Views: 1052

Answers: 1

Read More
Gondim
Gondim

Reputation: 3048

How do I make 2 comparable methods in only one class?

Score: 29

Views: 31403

Answers: 3

Read More
Abhishek Pandey
Abhishek Pandey

Reputation: 3

JAVA Collections Modified Sorting

Score: -1

Views: 64

Answers: 2

Read More
PreviousPage 2Next