package com.biosimilarity.lift.model.specialK.Absyn; // Java Package generated by the BNF Converter.

public class IntegerLiteral extends Value {
  public final Integer integer_;

  public IntegerLiteral(Integer p1) { integer_ = p1; }

  public <R,A> R accept(com.biosimilarity.lift.model.specialK.Absyn.Value.Visitor<R,A> v, A arg) { return v.visit(this, arg); }

  public boolean equals(Object o) {
    if (this == o) return true;
    if (o instanceof com.biosimilarity.lift.model.specialK.Absyn.IntegerLiteral) {
      com.biosimilarity.lift.model.specialK.Absyn.IntegerLiteral x = (com.biosimilarity.lift.model.specialK.Absyn.IntegerLiteral)o;
      return this.integer_.equals(x.integer_);
    }
    return false;
  }

  public int hashCode() {
    return this.integer_.hashCode();
  }


}
