September 2005
Intermediate to advanced
240 pages
6h 28m
English
The ADTs are in this package.
public class CustomerID
implements java.io.Serializable
{
public CustomerID( )
public CustomerID( String aString ) throws CustomerIDFormatDeviation
public void fromString( String aString ) throws CustomerIDFormatDeviation
public static CustomerID parseString( String aString ) throws
CustomerIDFormatDeviation
boolean isInvalid( )
public String toString( )
public boolean equals( CustomerID aCustomerID )
public boolean equals( Object obj )
}
public class Dollar
implements java.io.Serializable
{
public Dollar( )
public Dollar( double value )
public void fromString( String aString ) throws DollarFormatDeviation
public static Dollar parseString( String aString ) throws
DollarFormatDeviation
public boolean equals( Dollar aDollar )
void fromDouble( double value )
public String toString( )
public boolean equals( Object obj )
}
public class Name
implements java.io.Serializable
{
public Name( )
public Name( String aString ) throws NameFormatDeviation
boolean isInvalid( )
public static Name parseString( String aString ) throws
NameFormatDeviation
public boolean equals( Name aName )
public String toString( )
public boolean equals( Object obj )
}
public class PhysicalID implements java.io.Serializable { public PhysicalID( ) public PhysicalID( String aString ) throws PhysicalIDFormatDeviation boolean isInvalid( ) public static PhysicalID ...