probag.java

来自「基于面向对象的数据库编程」· Java 代码 · 共 56 行

JAVA
56
字号
package helper;

import java.util.*;

/**
 * <p>Title: Broundary Rrepresentaion</p>
 * <p>Description: 这是一个用来封装参数的辅助类</p>
 * <p>Copyright: Copyright (c) 2003</p>
 * <p>Company: USTC</p>
 * @author unascribed
 * @version 1.0
 */

public class ProBag {

  private double length;
  private double width;
  private double high;
  private double radius;

  public ProBag() {
  }

  public void setLength(double length) {
    this.length = length;
  }

  public double getLength() {
    return length;
  }

  public void setWidth(double width) {
    this.width = width;
  }

  public double getWidth() {
    return width;
  }

  public void setHigh(double high) {
    this.high = high;
  }

  public double getHigh() {
    return high;
  }

  public void setRadius(double radius) {
    this.radius = radius;
  }

  public double getRadius() {
    return radius;
  }

}

⌨️ 快捷键说明

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