You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "William Slacum (JIRA)" <ji...@apache.org> on 2014/09/25 17:55:34 UTC
[jira] [Commented] (ACCUMULO-3168) WholeRowIterator.decode could
return NavigableMap instead of SortedMap
[ https://issues.apache.org/jira/browse/ACCUMULO-3168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147891#comment-14147891 ]
William Slacum commented on ACCUMULO-3168:
------------------------------------------
Or just {{TreeMap}}, and then anyone whose API takes a {{Map}}, {{SortedMap}}, {{NavigableMap}}, {{MagellanMap}} or {{TreeMap}} can use it.
> WholeRowIterator.decode could return NavigableMap instead of SortedMap
> ----------------------------------------------------------------------
>
> Key: ACCUMULO-3168
> URL: https://issues.apache.org/jira/browse/ACCUMULO-3168
> Project: Accumulo
> Issue Type: Improvement
> Components: client
> Reporter: Mike Drob
> Priority: Minor
> Labels: newbie
> Fix For: 1.7.0
>
>
> {{WRI.decode()}} returns a TreeMap declared as a SortedMap. We could give users access to useful methods on NavigableMap without limiting which implementation we can use out of the Java collections packages, if we decide to swap it out at a later date.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)