custombean.java

来自「一个java写的加密算法」· Java 代码 · 共 38 行

JAVA
38
字号
/* * Copyright 2004-2005 Sun Microsystems, Inc.  All rights reserved. * Use is subject to license terms. *//***  Custom Bean class*  @author amurillo*/  		package samples.jndi.custom.share;public class CustomBean {  private String propertyOne = "Default propertyOne";  public String getPropertyOne() {    return (this.propertyOne);  }  public void setPropertyOne(String propertyOne) {    this.propertyOne = propertyOne;  }  private int propertyTwo = 0;  public int getPropertyTwo() {    return (this.propertyTwo);  }  public void setPropertyTwo(int propertyTwo) {    this.propertyTwo = propertyTwo;  }}

⌨️ 快捷键说明

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