result.java

来自「shape file read and write」· Java 代码 · 共 30 行

JAVA
30
字号
/**
 * 
 */
package org.geotools.data.shapefile;

/**
 * 
 * @author jesse
 * @param <V>
 *                The type of value that the result is
 * @param <S>
 *                The state of the return for example this may be a an enum that
 *                Provides state values such as NONE, FAILURE, etc..
 */
public class Result<V, S> {

    public final V value;
    public final S state;

    public Result(V value, S state) {
        this.value = value;
        this.state = state;
    }

    @Override
    public String toString() {
        return "State: " + state + " value: " + value;
    }
}

⌨️ 快捷键说明

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