Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 34446 invoked from network); 1 Apr 2009 16:33:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2009 16:33:16 -0000 Received: (qmail 28367 invoked by uid 500); 1 Apr 2009 16:33:16 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 28327 invoked by uid 500); 1 Apr 2009 16:33:16 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 28318 invoked by uid 99); 1 Apr 2009 16:33:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 16:33:16 +0000 X-ASF-Spam-Status: No, hits=-1999.6 required=10.0 tests=ALL_TRUSTED,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 16:33:14 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A61A323889E9; Wed, 1 Apr 2009 16:32:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r760955 - in /directory/apacheds/branches/ldif-partition/xdbm-base/src: main/java/org/apache/directory/server/xdbm/ test/ test/java/ test/java/org/ test/java/org/apache/ test/java/org/apache/directory/ test/java/org/apache/directory/server/... Date: Wed, 01 Apr 2009 16:32:53 -0000 To: commits@directory.apache.org From: akarasulu@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090401163253.A61A323889E9@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: akarasulu Date: Wed Apr 1 16:32:52 2009 New Revision: 760955 URL: http://svn.apache.org/viewvc?rev=760955&view=rev Log: adding attached tests for use in implementation behavior verification Added: directory/apacheds/branches/ldif-partition/xdbm-base/src/test/ directory/apacheds/branches/ldif-partition/xdbm-base/src/test/java/ directory/apacheds/branches/ldif-partition/xdbm-base/src/test/java/org/ directory/apacheds/branches/ldif-partition/xdbm-base/src/test/java/org/apache/ directory/apacheds/branches/ldif-partition/xdbm-base/src/test/java/org/apache/directory/ directory/apacheds/branches/ldif-partition/xdbm-base/src/test/java/org/apache/directory/server/ directory/apacheds/branches/ldif-partition/xdbm-base/src/test/java/org/apache/directory/server/xdbm/ Modified: directory/apacheds/branches/ldif-partition/xdbm-base/src/main/java/org/apache/directory/server/xdbm/Table.java Modified: directory/apacheds/branches/ldif-partition/xdbm-base/src/main/java/org/apache/directory/server/xdbm/Table.java URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/xdbm-base/src/main/java/org/apache/directory/server/xdbm/Table.java?rev=760955&r1=760954&r2=760955&view=diff ============================================================================== --- directory/apacheds/branches/ldif-partition/xdbm-base/src/main/java/org/apache/directory/server/xdbm/Table.java (original) +++ directory/apacheds/branches/ldif-partition/xdbm-base/src/main/java/org/apache/directory/server/xdbm/Table.java Wed Apr 1 16:32:52 2009 @@ -26,8 +26,10 @@ /** - * A wrapper interface around BTree implementations used to abstract away - * implementation details. + * An abstraction representing a data structure holding key value pairs in + * Tuples (a.k.a. Entries) where keys and values are ordered and duplicate + * keys may or may not be allowed. Table normalizes implementation interfaces + * so a common view of information is presented to the search engine. * * @author Apache Directory Project * @version $Rev$ @@ -35,11 +37,9 @@ public interface Table { /** - * Gets the key comparator used by this Table: may be null if this Table - * was not initialized with one. + * Gets the key comparator used by this Table. * - * @return the key comparator or null if this Table was not created with - * one. + * @return the key comparator (cannot be null) */ Comparator getKeyComparator(); @@ -63,7 +63,7 @@ /** - * Checks to see if this Table has allows for duplicate keys (a.k.a. + * Checks to see if this Table allows for duplicate keys (a.k.a. * multiple values for the same key). * * @return true if duplicate keys are enabled, false otherwise @@ -73,7 +73,7 @@ /** * Checks whether or not calls to count the number of keys greater than or - * less than the key are exact. + * less than the key are exact or approximated. * * Checking to see the number of values greater than or less than some key * may be excessively costly. Since this is not a critical function but