Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7865C178F9 for ; Thu, 25 Sep 2014 15:55:34 +0000 (UTC) Received: (qmail 68736 invoked by uid 500); 25 Sep 2014 15:55:34 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 68697 invoked by uid 500); 25 Sep 2014 15:55:34 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 68686 invoked by uid 99); 25 Sep 2014 15:55:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2014 15:55:34 +0000 Date: Thu, 25 Sep 2014 15:55:34 +0000 (UTC) From: "William Slacum (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-3168) WholeRowIterator.decode could return NavigableMap instead of SortedMap MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)