📄 property.java
字号:
/* * Copyright (C) butor.com. All rights reserved. * * This software is published under the terms of the GNU Library General * Public License (GNU LGPL), a copy of which has been included with this * distribution in the LICENSE.txt file. */package org.butor.config.lowlevel;/** * @version 1.0 * @author */public class Property { protected Object f_key = null; // value are mandatory protected Object f_value = null; /** * Constructor for Property. */ public Property(Object key, Object value) { super(); f_key = key; // value are mandatory// f_value = (value != null ? value : ""); f_value = value; } /** * Get property value. * * @return Object */ public Object getValue() { return f_value; } /** * Get property key. * * @return Object */ public Object getKey() { return f_key; } /** * * toString this object content. * * @return String. */ public String toString() { StringBuffer buffer = new StringBuffer("key="); buffer.append((f_key == null ? "null" : f_key)); buffer.append(", value="); buffer.append((f_value == null ? "null" : f_value)); return buffer.toString(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -