Return-Path: X-Original-To: apmail-directory-commits-archive@www.apache.org Delivered-To: apmail-directory-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1E8E610D87 for ; Sun, 24 Nov 2013 08:09:19 +0000 (UTC) Received: (qmail 62192 invoked by uid 500); 24 Nov 2013 08:09:18 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 62154 invoked by uid 500); 24 Nov 2013 08:09: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 62145 invoked by uid 99); 24 Nov 2013 08:09:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Nov 2013 08:09:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED 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; Sun, 24 Nov 2013 08:09:10 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 69E9D238889B; Sun, 24 Nov 2013 08:08:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1544933 - in /directory/site/trunk/content/mavibot/user-guide: 4-btree-operations.mdtext images/ug-btree-after-last.graphml images/ug-btree-after-last.png Date: Sun, 24 Nov 2013 08:08:48 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131124080848.69E9D238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: elecharny Date: Sun Nov 24 08:08:47 2013 New Revision: 1544933 URL: http://svn.apache.org/r1544933 Log: Added doc about the afterLast method Added: directory/site/trunk/content/mavibot/user-guide/images/ug-btree-after-last.graphml directory/site/trunk/content/mavibot/user-guide/images/ug-btree-after-last.png (with props) Modified: directory/site/trunk/content/mavibot/user-guide/4-btree-operations.mdtext Modified: directory/site/trunk/content/mavibot/user-guide/4-btree-operations.mdtext URL: http://svn.apache.org/viewvc/directory/site/trunk/content/mavibot/user-guide/4-btree-operations.mdtext?rev=1544933&r1=1544932&r2=1544933&view=diff ============================================================================== --- directory/site/trunk/content/mavibot/user-guide/4-btree-operations.mdtext (original) +++ directory/site/trunk/content/mavibot/user-guide/4-btree-operations.mdtext Sun Nov 24 08:08:47 2013 @@ -43,8 +43,11 @@ Here is the **BTree** sample we will use #### 4.1.1.1 afterLast() -Moves the current position after the last element (last key and last value). The following schema shows +Moves the current position after the last element (last key and last value). The following schema shows the new position of the pointer after having called the _afterLast() method : +![After Last](images/ug-btree-after-last.png) + +As we can see, we are not pointing any tuple. #### 4.1.1.2 beforeFirst() : move the current position before the first element (first key and first value) Added: directory/site/trunk/content/mavibot/user-guide/images/ug-btree-after-last.graphml URL: http://svn.apache.org/viewvc/directory/site/trunk/content/mavibot/user-guide/images/ug-btree-after-last.graphml?rev=1544933&view=auto ============================================================================== --- directory/site/trunk/content/mavibot/user-guide/images/ug-btree-after-last.graphml (added) +++ directory/site/trunk/content/mavibot/user-guide/images/ug-btree-after-last.graphml Sun Nov 24 08:08:47 2013 @@ -0,0 +1,293 @@ + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + <A, vA1> + + + + + + + + + + + + + + + + + CurrentPos + + + + + + + + + + + + + + + + + Key Cursor + + + + + + + + + + + + + + + + + + + <A, vA2> + + + + + + + + + + + + + + + + <A, vA3> + + + + + + + + + + + + + + + + <A, vA4> + + + + + + + + + + + + + + + + <B, vB> + + + + + + + + + + + + + + + + <C, vC1> + + + + + + + + + + + + + + + + <C, vC2> + + + + + + + + + + + + + + + + <D, vD> + + + + + + + + + + + + + + + + <E, vE> + + + + + + + + + + + + + + + + <F, vF> + + + + + + + + + + + + + + + + <G, vG1> + + + + + + + + + + + + + + + + <G, vG2> + + + + + + + + + + + + + + + + after + + + + + + + + + + + + + + + + + + + + + + + + + Added: directory/site/trunk/content/mavibot/user-guide/images/ug-btree-after-last.png URL: http://svn.apache.org/viewvc/directory/site/trunk/content/mavibot/user-guide/images/ug-btree-after-last.png?rev=1544933&view=auto ============================================================================== Binary file - no diff available. Propchange: directory/site/trunk/content/mavibot/user-guide/images/ug-btree-after-last.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream