📄 d.java
字号:
//$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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -