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

io.github.therealmone.spoStackMachine.collections.hashset.Element Maven / Gradle / Ivy

package io.github.therealmone.spoStackMachine.collections.hashset;

import io.github.therealmone.translatorAPI.Node;

class Element extends Node {
    private double value;
    private int hashCode;

    Element(String name, double value) {
        super(name);
        this.value = value;
        this.hashCode = name.hashCode();
    }

    double getValue() {
        return this.value;
    }

    void setValue(double value) {
        this.value = value;
    }

    int getHashCode() {
        return this.hashCode;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy