shippingoption.java
来自「Flex JSP Exchanging data」· Java 代码 · 共 42 行
JAVA
42 行
package quickstart;
/*
////////////////////////////////////////////////////////////////////////////////
// ADOBE SYSTEMS INCORPORATED
// Copyright 2007 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the
// terms of the Adobe license agreement accompanying it. If you have received this file from a
// source other than Adobe, then your use, modification, or distribution of it requires the prior
// written permission of Adobe.
////////////////////////////////////////////////////////////////////////////////
*/
public class ShippingOption {
private String service;
private double price;
public ShippingOption() {
}
public ShippingOption(String aService, double aPrice) {
this.service = aService;
this.price = aPrice;
}
public void setService(String value) {
this.service = value;
}
public void setPrice(double value) {
this.price = value;
}
public String getService() { return this.service; }
public double getPrice() { return this.price; }
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?