Question: Class TwoThreeTreeClass java.lang.Object p8_package.TwoThreeTreeClass - Students will review the development of a basic data type that incorporates the use of linked data for management -
Class TwoThreeTreeClass
java.lang.Object
p8_package.TwoThreeTreeClass
- Students will review the development of a basic data type that incorporates the use of linked data for management
- Students will review use of Java arrays, and practice basic algorithmic activities with linked data
- Students will review the pass-by-copy practice of Java, along with managing potential aliasing issues in method development
- Students will practice development, implementation, and usage of supporting/utility methods
- Students will generate classes that manage data in the form of a self-balancing tree structure
- Students will practice implementing methods in such a way that code is rarely, if ever, repeated by implementing supporting or utility methods in their development activities
- Students will demonstrate analytic and diagnostic competence with testing and verifying all components of the given assignment
Class should have this following parts
Field Summary
| Modifier and Type | Field and Description |
|---|
| private int | LEFT_CHILD_SELECT constant used in constructor to indicate which child to create - Left | ||||||||||||||||||||||||
| private int | ONE_DATA_ITEM constant used for identifying one data item stored | ||||||||||||||||||||||||
| private java.lang.String | outputString Used for acquiring ordered tree visitations in String form | ||||||||||||||||||||||||
| private int | RIGHT_CHILD_SELECT constant used in constructor to indicate which child to create - Right | ||||||||||||||||||||||||
| private TwoThreeTreeClass.TwoThreeNodeClass | root root of tree | ||||||||||||||||||||||||
| private int | THREE_DATA_ITEMS constant used for identifying three data items stored | ||||||||||||||||||||||||
| private int | TWO_DATA_ITEMS constant used for identifying two data items stored Method Summary
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
