// subclass
class DatedSalesTaxItem extends SalesTaxItem implements Comparable<DatedSalesTaxItem>
{
...
}