Package type.lib

This package provides a set of carefully designed classes to demonstrate the basic concepts of OOP and S/E.

See:
          Description

Class Summary
AbstractFoods This class encapsulates the inventory and sales business of the Abstract Foods Company.
CEstudent Provide services to maintain information about a CE (computer engineering) student.
CharStack This class encapsulates a stack (last-in first-out) of characters.
Client This class encapsulates a client.
Contact This class encapsulates a contact.
CreditCard This class encapsulates a credit card and maintains information about it.
Equation Encapsulates an algebraic equation of the second degree.
Fraction This class encapsulates a fraction.
FractionNS This class is identical to the Fraction class except for three non-standard (NS) features.
Fresh This class encapsulates a fresh item.
GlobalCredit This class encapsulates the credit card operations of a Global Credit Centre (GCC), a regional card processing centre of the Global Credit bank.
Investment This class encapsulates a stock investment.
Item This class encapsulates a stock item.
ITstudent Provide services to maintain information about an IT (information technology) student.
MixedNumber This class encapsulates a mixed number.
Money This class encapsulates an amount of money.
Portfolio This class encapsulates a portfolio of investments.
Rectangle A class that encapsulates a rectangle.
RewardCard This class encapsulates a special kind of credit card that is similar to CreditCard except it offers reward points.
SEstudent Provide services to maintain information about a SE (software engineering) student.
Stock This class encapsulates a stock.
StockNS This class is identical to the Stock class except for three non-standard (NS) features.
Student Provide services to maintain information about a computer science and engineering (CSE) student and his or her academic record.
Supplier This class encapsulates a supplier.
ToolBox This class contains various utilities.
Trx This class encapsulates a transaction.
UniPanel This class encapsulates a (JPanel) with buffered, instead of callback, graphics.
 

Package type.lib Description

This package provides a set of carefully designed classes to demonstrate the basic concepts of OOP and S/E.

Note

All classes in this package work correctly as specified. For pedagogical purposes, however, a few features have intentional S/E guideline violations. You may, for example, find a field (a public attribute) that should have been made private, mutators that change object states without validation, and so on. Such violations are clearly indicated in the API.



Java by Abstraction: A Client-View Approach