class DoubleConstantValueTag extends ConstantValueTag {

  public static final String NAME = "DoubleConstantValueTag";

  private final double value;

  public DoubleConstantValueTag(double val) {
    super(null);
    this.value = val;
  }

  public double getDoubleValue() {
    return value;
  }

  @Override
  public String getName() {
    return NAME;
  }

  @Override
  public String toString() {
    return "ConstantValue: " + Double.toString(value);
  }

  @Override
  public DoubleConstant getConstant() {
    return DoubleConstant.v(value);
  }

  @Override
  public int hashCode() {
    final int prime = 31;
    int result = super.hashCode();
    long temp = Double.doubleToLongBits(value);
    result = prime * result + (int) (temp ^ (temp >>> 32));
    return result;
  }

  @Override
  public boolean equals(Object obj) {<FILL_FUNCTION_BODY>}
}

    if (this == obj) {
      return true;
    }
    if (!super.equals(obj) || (this.getClass() != obj.getClass())) {
      return false;
    }
    DoubleConstantValueTag other = (DoubleConstantValueTag) obj;
    return Double.doubleToLongBits(this.value) == Double.doubleToLongBits(other.value);
  
<methods>public boolean equals(java.lang.Object) ,public abstract soot.jimple.Constant getConstant() ,public byte[] getValue() ,public int hashCode() ,public abstract java.lang.String toString() <variables>protected final non-sealed byte[] bytes