This content has been marked as final. Show 5 replies
No, there is no such thing. You could confirm this for yourself quite easily just by looking at the javadocs.
Additionally, there's no need for a distinct interface for comparing the size of objects. We already have Comparable and Comparator for comparing any objects you want to compare.
I there is know word relatable. You have to check Java docs.
867168 wrote:If there were such an animal, I suspect it would have been given a much better name. "Relatable" means almost the same thing in English as "Comparable"; and there's already one of those.
i think it is a predefined interface provided by developers of java. and it is used for compare the size of objects.
I think it is a predefined interface provided by developers of javaYou are mistaken. Just thinking it doesn't make it so.
I there is know word relatable.So?
You have to check Java docs.Check them yourself.
There is no such interface in the JDK. If you have proof to the contrary please provide it.To assist you in your pointless endeavour, here is the index for 'R'.