documentloaderbasic.java

来自「是一个专门设计用于触摸屏的POS(point of sales)应用软件」· Java 代码 · 共 28 行

JAVA
28
字号
/*
 * DocumentLoaderBasic.java
 */

package net.adrianromero.data.user;

/**
 *
 * @author adrianromero
 * Created on 22 de marzo de 2007, 0:01
 *
 */
public class DocumentLoaderBasic implements DocumentLoader {
    
    public static final DocumentLoader INSTANCE = new DocumentLoaderBasic();
    
    /** Creates a new instance of DocumentLoaderBasic */
    private DocumentLoaderBasic() {
    }
    
    public Object getValue(Object key) {
        return key;
    }
    public Object getKey(Object value) {
        return value;
    }
}

⌨️ 快捷键说明

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