All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.legstar.base.FromHostResult Maven / Gradle / Ivy

package com.legstar.base;

/**
 * Aggregate result of converting host bytes to java.
 * 
 */
public class FromHostResult {

    /** how many host bytes were used to produce the java object */
    private final int bytesProcessed;

    /**the java object produced by the conversion */
    private final J value;
    
    public FromHostResult(int bytesProcessed, J value) {
        this.bytesProcessed = bytesProcessed;
        this.value = value;
    }

    public int getBytesProcessed() {
        return bytesProcessed;
    }

    public J getValue() {
        return value;
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy