@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; BooleanConstant other = (BooleanConstant) obj; if (val != other.val) return false; return true; } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; ByteConstant other = (ByteConstant) obj; if (val != other.val) return false; return true; } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; ShortConstant other = (ShortConstant) obj; if (val != other.val) return false; return true; } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; IntegerConstant other = (IntegerConstant) obj; if (val != other.val) return false; return true; } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; LongConstant other = (LongConstant) obj; if (val != other.val) return false; return true; } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; FloatConstant other = (FloatConstant) obj; if (Float.floatToIntBits(val) != Float.floatToIntBits(other.val)) return false; return true; } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; DoubleConstant other = (DoubleConstant) obj; if (Double.doubleToLongBits(val) != Double.doubleToLongBits(other.val)) return false; return true; } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; StringConstant other = (StringConstant) obj; if (val == null) { if (other.val != null) return false; } else if (!val.equals(other.val)) return false; return true; } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; ClassConstant other = (ClassConstant) obj; if (val == null) { if (other.val != null) return false; } else if (!val.equals(other.val)) return false; return true; } }