directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
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 GMT
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 <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
@@ -35,11 +37,9 @@
 public interface Table<K, V>
 {
     /**
-     * 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<K> 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 



Mime
View raw message