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

org.bidib.wizard.api.model.RfBasisNode Maven / Gradle / Ivy

There is a newer version: 2.0.29
Show newest version
package org.bidib.wizard.api.model;

import java.util.Objects;

public class RfBasisNode implements RfBasisNodeInterface {
    private final NodeInterface node;

    public RfBasisNode(final NodeInterface node) {
        this.node = node;
    }

    /**
     * @return the node
     */
    @Override
    public NodeInterface getNode() {
        return node;
    }

    @Override
    public int hashCode() {
        return Objects.hash(node);
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (!(obj instanceof RfBasisNode))
            return false;
        RfBasisNode other = (RfBasisNode) obj;
        return Objects.equals(node, other.node);
    }

    @Override
    public String toString() {
        return node.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy