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

io.nem.sdk.model.blockchain.MerkelPathItem Maven / Gradle / Ivy

The newest version!
package io.nem.sdk.model.blockchain;

public class MerkelPathItem {

    private final Integer position;
    private final String hash;

    /**
     * Constructor
     *
     * @param position the position in the path.
     * @param hash the hash.
     */
    public MerkelPathItem(Integer position, String hash) {
        this.position = position;
        this.hash = hash;
    }

    /**
     * Return position
     *
     * @return Integer
     */
    public Integer getPosition() {
        return this.position;
    }

    /**
     * Return hash
     *
     * @return String
     */
    public String getHash() {
        return this.hash;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy