You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by el...@apache.org on 2013/02/25 13:27:54 UTC
svn commit: r1449681 -
/labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTree.java
Author: elecharny
Date: Mon Feb 25 12:27:54 2013
New Revision: 1449681
URL: http://svn.apache.org/r1449681
Log:
Added some Javadoc
Modified:
labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTree.java
Modified: labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTree.java
URL: http://svn.apache.org/viewvc/labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTree.java?rev=1449681&r1=1449680&r2=1449681&view=diff
==============================================================================
--- labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTree.java (original)
+++ labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTree.java Mon Feb 25 12:27:54 2013
@@ -816,11 +816,13 @@ public class BTree<K, V>
/**
- * Find a value in the tree, given its key. if the key is not found,
- * it will return null.
+ * Find a value in the tree, given its key. If the key is not found,
+ * it will throw a KeyNotFoundException. <br/>
+ * Note that we can get a null value stored, or many values.
*
* @param key The key we are looking at
* @return The found value, or null if the key is not present in the tree
+ * @throws KeyNotFoundException If the key is not found in the BTree
* @throws IOException TODO
*/
public V get( K key ) throws IOException, KeyNotFoundException
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org