Java Doc for AbstractTTreeNode.java in  » Database-DBMS » axion » org » axiondb » ext » indexes » ttree » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » axion » org.axiondb.ext.indexes.ttree 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.axiondb.ext.indexes.ttree.AbstractTTreeNode

AbstractTTreeNode
abstract public class AbstractTTreeNode (Code)
Base Node implementation for T-Tree.
version:
   $Revision: 1.1 $ $Date: 2005/06/30 01:14:44 $
author:
   Pavels Andrejevs


Field Summary
protected static  AxionFileSystemFS
    
protected  int_balance
    
protected  int_fileId
    
protected  AbstractTTreeNode_left
    
protected  AbstractTTreeNode_next
    
protected  int_nodeSize
    
protected  AbstractTTreeNode_prev
    
protected  AbstractTTreeNode_right
    
protected  TTree_tree
    

Constructor Summary
public  AbstractTTreeNode(TTree tree, int fileId)
    

Method Summary
abstract public  voidaddKeyValue(Object key, int value)
    
final protected  intbalanceLeftBranch(NodeReference ref, boolean insert)
    
final protected  intbalanceRightBranch(NodeReference ref, boolean insert)
    
public  voidclearDirty()
    
abstract public  voidcopyKeysValues(int from, int to, int length)
    
protected  voidcreate()
    
abstract protected  Object[]createKeys()
    
abstract protected  int[]createValues()
    
final public  intdelete(Object key, int value, NodeReference ref)
    
protected  voiddestroy()
    
abstract protected  voiddestroyKeys()
    
abstract protected  voiddestroyValues()
    
final public  intgetFileId()
    
abstract protected  ObjectgetKey(int index)
    
abstract protected  Object[]getKeys()
    
public  AbstractTTreeNodegetLeft()
    
public  ObjectgetMaxKey()
    
public  ObjectgetMinKey()
    
protected  AbstractTTreeNodegetNext()
    
final protected  intgetNodeSize()
    
protected  AbstractTTreeNodegetPrev()
    
public  AbstractTTreeNodegetRight()
    
final public  TTreegetTree()
    
abstract protected  intgetValue(int index)
    
abstract protected  int[]getValues()
    
final public  booleaninsert(Object key, int value, boolean unique, NodeReference ref)
    
abstract public  voidinsertKeyValue(int index, Object key, int value)
    
final public  booleanisLeaf()
    
final public  booleanisValid()
    
public  voidmarkDirty()
    
final public  voidread()
    
abstract public  voidremoveKeyValue(int index)
    
final public  booleanselect(Object minValue, Object maxValue, int inclusive, TTree.Processor proc, boolean first)
    
abstract protected  voidsetKey(int index, Object key)
    
abstract public  voidsetKeyValue(int index, Object key, int value)
    
final protected  voidsetNodeSize(int nodeSize)
    
abstract protected  voidsetValue(int index, int value)
    
final protected static  Stringspace(int n)
     Return a String comprised of N spaces.
final public  StringtoString()
    
final protected  StringtoString(int space)
     Print this node, with every line prefixed by N*space spaces.
final public  voidtraverseBackward(TTree.Processor proc)
    
final public  voidtraverseForward(TTree.Processor proc)
    
final public  voidwrite()
    

Field Detail
FS
protected static AxionFileSystem FS(Code)



_balance
protected int _balance(Code)



_fileId
protected int _fileId(Code)



_left
protected AbstractTTreeNode _left(Code)



_next
protected AbstractTTreeNode _next(Code)



_nodeSize
protected int _nodeSize(Code)



_prev
protected AbstractTTreeNode _prev(Code)



_right
protected AbstractTTreeNode _right(Code)



_tree
protected TTree _tree(Code)




Constructor Detail
AbstractTTreeNode
public AbstractTTreeNode(TTree tree, int fileId) throws AxionException(Code)




Method Detail
addKeyValue
abstract public void addKeyValue(Object key, int value) throws AxionException(Code)



balanceLeftBranch
final protected int balanceLeftBranch(NodeReference ref, boolean insert) throws AxionException(Code)



balanceRightBranch
final protected int balanceRightBranch(NodeReference ref, boolean insert) throws AxionException(Code)



clearDirty
public void clearDirty()(Code)



copyKeysValues
abstract public void copyKeysValues(int from, int to, int length) throws AxionException(Code)



create
protected void create()(Code)



createKeys
abstract protected Object[] createKeys()(Code)



createValues
abstract protected int[] createValues()(Code)



delete
final public int delete(Object key, int value, NodeReference ref) throws AxionException(Code)



destroy
protected void destroy()(Code)



destroyKeys
abstract protected void destroyKeys()(Code)



destroyValues
abstract protected void destroyValues()(Code)



getFileId
final public int getFileId()(Code)



getKey
abstract protected Object getKey(int index) throws AxionException(Code)



getKeys
abstract protected Object[] getKeys() throws AxionException(Code)



getLeft
public AbstractTTreeNode getLeft()(Code)



getMaxKey
public Object getMaxKey() throws AxionException(Code)



getMinKey
public Object getMinKey() throws AxionException(Code)



getNext
protected AbstractTTreeNode getNext()(Code)



getNodeSize
final protected int getNodeSize() throws AxionException(Code)



getPrev
protected AbstractTTreeNode getPrev()(Code)



getRight
public AbstractTTreeNode getRight()(Code)



getTree
final public TTree getTree()(Code)



getValue
abstract protected int getValue(int index) throws AxionException(Code)



getValues
abstract protected int[] getValues() throws AxionException(Code)



insert
final public boolean insert(Object key, int value, boolean unique, NodeReference ref) throws AxionException(Code)



insertKeyValue
abstract public void insertKeyValue(int index, Object key, int value) throws AxionException(Code)



isLeaf
final public boolean isLeaf()(Code)



isValid
final public boolean isValid()(Code)



markDirty
public void markDirty()(Code)



read
final public void read() throws AxionException(Code)



removeKeyValue
abstract public void removeKeyValue(int index) throws AxionException(Code)



select
final public boolean select(Object minValue, Object maxValue, int inclusive, TTree.Processor proc, boolean first) throws AxionException(Code)



setKey
abstract protected void setKey(int index, Object key) throws AxionException(Code)



setKeyValue
abstract public void setKeyValue(int index, Object key, int value) throws AxionException(Code)



setNodeSize
final protected void setNodeSize(int nodeSize) throws AxionException(Code)



setValue
abstract protected void setValue(int index, int value) throws AxionException(Code)



space
final protected static String space(int n)(Code)
Return a String comprised of N spaces.



toString
final public String toString()(Code)



toString
final protected String toString(int space) throws AxionException(Code)
Print this node, with every line prefixed by N*space spaces.



traverseBackward
final public void traverseBackward(TTree.Processor proc) throws AxionException(Code)



traverseForward
final public void traverseForward(TTree.Processor proc) throws AxionException(Code)



write
final public void write() throws AxionException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.