d.java
来自「这是一份人力资源管理系统的源码」· Java 代码 · 共 61 行
JAVA
61 行
//$Id: D.java,v 1.1.2.2 2003/12/13 00:48:25 oneovthafew Exp $package org.hibernate.test;public class D { private Long id; private float amount; private A reverse; public D() { // try to induce an infinite loop in the lazy-loading machinery setAmount(100.0f); getAmount(); } /** * Returns the amount. * @return float */ public float getAmount() { return amount; } /** * Returns the id. * @return long */ public Long getId() { return id; } /** * Sets the amount. * @param amount The amount to set */ public void setAmount(float amount) { this.amount = amount; } /** * Sets the id. * @param id The id to set */ public void setId(Long id) { this.id = id; } public A getReverse() { return reverse; } public void setReverse(A a) { reverse = a; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?