ex7_19.txt

来自「j2ee core design patterns」· 文本 代码 · 共 17 行

TXT
17
字号
Example 7.19 	LineItem 

import java.util.Date;

public class LineItem {
    String  productId;
    float   price;
    int     quantity;
    Date    deliveryDate;

    public LineItem(LineItemTO lineItem) {
        this.productId = lineItem.getProductId();
        this.price = lineItem.getPrice();
        this.quantity = lineItem.getQuantity();
        this.deliveryDate = lineItem.getDeliveryDate();
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?