@Override public void close(){
  if (leaf != null) {
    leaf.close();
    leaf=null;
  }
  ccMgr.releaseIndexLocks();
  dirsMayBeUpdated=null;
}

@ Override public void close ( ) { if ( leaf != null ) { leaf . close ( ) ; leaf = null ; } ccMgr . releaseIndexLocks ( ) ; dirsMayBeUpdated = null ; }
closes the index by closing its open leaf page , if necessary .
