You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "maoling (JIRA)" <ji...@apache.org> on 2018/04/26 13:28:01 UTC

[jira] [Commented] (HBASE-20359) why Comparator extends comparable?

    [ https://issues.apache.org/jira/browse/HBASE-20359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16454188#comment-16454188 ] 

maoling commented on HBASE-20359:
---------------------------------

[~Nick.han] can you give some examples?

> why Comparator extends comparable?
> ----------------------------------
>
>                 Key: HBASE-20359
>                 URL: https://issues.apache.org/jira/browse/HBASE-20359
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Nick.han
>            Priority: Minor
>
> Comparable is an interface,object implements this interface can be compare with some other object, Comparator is a tool for compare object,the tool itself can be compare is useless, so why a tool implement the comparable interface?Do we have to  improve this?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)