@Override
    public boolean equals(Object obj) {
        if (obj == null || !(obj instanceof NumberToken)){
            return false;
        }
        NumberToken other = (NumberToken) obj;
        
        return (type == other.type) && (value == other.value);
    }