aspose file tools
The moose likes Beginning Java and the fly likes TreeOrProcesstrees object Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "TreeOrProcesstrees object" Watch "TreeOrProcesstrees object" New topic
Author

TreeOrProcesstrees object

alejandro blengio
Greenhorn

Joined: Nov 23, 2008
Posts: 1
Hi! I'm trying to define an object that could be a binary tree or a Processtrees.
A Processtrees are the trees generated by a Process, a Process is defined by a Name and a list of states, each state generates a binary tree.
Being s1,s2,...,sn the list of states, which are less than 20 are just known Strings.

Processtress looks like this:

Class Processtrees{
String NameProcess;
ProcTrees= array[s1,..,sn]of binary tree
}
I think that ProcTrees could be defined using a map and it should work fine.
But I need to define a Class of something that could be a Processtress or a binary tree..
Please help and Thanks in advance
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: TreeOrProcesstrees object
 
Similar Threads
Adapter or Mediator?
upcasting
String -query
Where do I put bus. logic for GUI class?
"Position" Concept as it applies to Data Structures