About the Principles About the Principles found in Java Structures Java Structures features a number of programming principles not openly advocated in other data structures texts. D esign and abide by interfaces as though you were the user. D eclare data fields protected . T est assertions in your code.
M aintaining consistent interfaces among classes makes a package useful.
R ecursive structures must make progress toward a base case . W hen manipulating references, draw pictures. E very public method of an object should leave the object in a consistent state. S ymmetry is good. Q uestion asymmetry.