Java Doc for Tree.java in  » Database-DBMS » db4o-6.4 » com » db4o » foundation » 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 » db4o 6.4 » com.db4o.foundation 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.db4o.foundation.Tree

All known Subclasses:   com.db4o.foundation.TreeObject,  com.db4o.internal.query.processor.QPending,  com.db4o.internal.query.processor.QOrder,  com.db4o.internal.ix.IxTree,  com.db4o.internal.TreeString,  com.db4o.internal.TreeInt,
Tree
abstract public class Tree implements ShallowClone,DeepClone(Code)

Inner Class :final public static class ByRef

Field Summary
public  Tree_preceding
    
public  int_size
    
public  Tree_subsequent
    


Method Summary
final public static  Treeadd(Tree a_old, Tree a_new)
    
public  Treeadd(Tree a_new)
    
public  Treeadd(Tree a_new, int a_cmp)
     On adding a node to a tree, if it already exists, and if Tree#duplicates() returns false, #isDuplicateOf() will be called.
public  TreeaddedOrExisting()
     On adding a node to a tree, if it already exists, and if Tree#duplicates() returns false, #onAttemptToAddDuplicate() will be called and the existing node will be stored in this._preceding. This node node can then be asked for the node that prevails in the tree on adding, using the #addedOrExisting() method.
final public  Treebalance()
    
public  TreebalanceCheckNulls()
    
public  voidcalculateSize()
    
abstract public  intcompare(Tree a_to)
    
public static  TreedeepClone(Tree a_tree, Object a_param)
    
public  ObjectdeepClone(Object a_param)
    
public  booleanduplicates()
    
final public  Treefilter(Predicate4 a_filter)
    
final public static  Treefind(Tree a_in, Tree a_tree)
    
final public  Treefind(Tree a_tree)
    
final public static  TreefindGreaterOrEqual(Tree a_in, Tree a_finder)
    
final public static  TreefindSmaller(Tree a_in, Tree a_node)
    
final public  Treefirst()
    
abstract public  Objectkey()
    
public static  Treelast(Tree tree)
    
final public  Treelast()
    
public  intnodes()
    
public  voidonAttemptToAddDuplicate(Tree a_tree)
    
public  intownSize()
    
public  Treeremove()
    
public  voidremoveChildren()
    
public  TreeremoveFirst()
    
public static  TreeremoveLike(Tree from, Tree a_find)
    
final public  TreeremoveLike(Tree a_find)
    
final public  TreeremoveNode(Tree a_tree)
    
public  Objectroot()
    
final public  TreerotateLeft()
    
final public  TreerotateRight()
    
public  voidsetSizeOwn()
    
public  voidsetSizeOwnPlus(Tree tree)
    
public  voidsetSizeOwnPlus(Tree tree1, Tree tree2)
    
public  voidsetSizeOwnPreceding()
    
public  voidsetSizeOwnPrecedingSubsequent()
    
public  voidsetSizeOwnSubsequent()
    
public  ObjectshallowClone()
    
protected  TreeshallowCloneInternal(Tree tree)
    
public static  intsize(Tree a_tree)
    
public  intsize()
    
final public static  voidtraverse(Tree tree, Visitor4 visitor)
    
final public  voidtraverse(Visitor4 a_visitor)
    
final public  voidtraverseFromLeaves(Visitor4 a_visitor)
    
public  booleanwasAddedToTree()
    

Field Detail
_preceding
public Tree _preceding(Code)



_size
public int _size(Code)



_subsequent
public Tree _subsequent(Code)





Method Detail
add
final public static Tree add(Tree a_old, Tree a_new)(Code)



add
public Tree add(Tree a_new)(Code)



add
public Tree add(Tree a_new, int a_cmp)(Code)
On adding a node to a tree, if it already exists, and if Tree#duplicates() returns false, #isDuplicateOf() will be called. The added node can then be asked for the node that prevails in the tree using #duplicateOrThis(). This mechanism allows doing find() and add() in one run.



addedOrExisting
public Tree addedOrExisting()(Code)
On adding a node to a tree, if it already exists, and if Tree#duplicates() returns false, #onAttemptToAddDuplicate() will be called and the existing node will be stored in this._preceding. This node node can then be asked for the node that prevails in the tree on adding, using the #addedOrExisting() method. This mechanism allows doing find() and add() in one run.



balance
final public Tree balance()(Code)



balanceCheckNulls
public Tree balanceCheckNulls()(Code)



calculateSize
public void calculateSize()(Code)



compare
abstract public int compare(Tree a_to)(Code)
returns 0, if keys are equal uses this - other returns positive if this is greater than a_to returns negative if this is smaller than a_to



deepClone
public static Tree deepClone(Tree a_tree, Object a_param)(Code)



deepClone
public Object deepClone(Object a_param)(Code)



duplicates
public boolean duplicates()(Code)



filter
final public Tree filter(Predicate4 a_filter)(Code)



find
final public static Tree find(Tree a_in, Tree a_tree)(Code)



find
final public Tree find(Tree a_tree)(Code)



findGreaterOrEqual
final public static Tree findGreaterOrEqual(Tree a_in, Tree a_finder)(Code)



findSmaller
final public static Tree findSmaller(Tree a_in, Tree a_node)(Code)



first
final public Tree first()(Code)



key
abstract public Object key()(Code)



last
public static Tree last(Tree tree)(Code)



last
final public Tree last()(Code)



nodes
public int nodes()(Code)
the number of nodes in this tree for balancing



onAttemptToAddDuplicate
public void onAttemptToAddDuplicate(Tree a_tree)(Code)



ownSize
public int ownSize()(Code)



remove
public Tree remove()(Code)



removeChildren
public void removeChildren()(Code)



removeFirst
public Tree removeFirst()(Code)



removeLike
public static Tree removeLike(Tree from, Tree a_find)(Code)



removeLike
final public Tree removeLike(Tree a_find)(Code)



removeNode
final public Tree removeNode(Tree a_tree)(Code)



root
public Object root()(Code)



rotateLeft
final public Tree rotateLeft()(Code)



rotateRight
final public Tree rotateRight()(Code)



setSizeOwn
public void setSizeOwn()(Code)



setSizeOwnPlus
public void setSizeOwnPlus(Tree tree)(Code)



setSizeOwnPlus
public void setSizeOwnPlus(Tree tree1, Tree tree2)(Code)



setSizeOwnPreceding
public void setSizeOwnPreceding()(Code)



setSizeOwnPrecedingSubsequent
public void setSizeOwnPrecedingSubsequent()(Code)



setSizeOwnSubsequent
public void setSizeOwnSubsequent()(Code)



shallowClone
public Object shallowClone()(Code)



shallowCloneInternal
protected Tree shallowCloneInternal(Tree tree)(Code)



size
public static int size(Tree a_tree)(Code)



size
public int size()(Code)
the number of objects represented.



traverse
final public static void traverse(Tree tree, Visitor4 visitor)(Code)



traverse
final public void traverse(Visitor4 a_visitor)(Code)



traverseFromLeaves
final public void traverseFromLeaves(Visitor4 a_visitor)(Code)



wasAddedToTree
public boolean wasAddedToTree()(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.