mirror of
https://github.com/AdaCore/why3.git
synced 2026-02-12 12:34:55 -08:00
49 lines
857 B
Java
49 lines
857 B
Java
|
|
/* This file has been extracted from module Return3. */
|
||
|
|
public class Return3 {
|
||
|
|
|
||
|
|
public int a;
|
||
|
|
public int b;
|
||
|
|
public final boolean equals(Object obj) {
|
||
|
|
|
||
|
|
if (this == obj) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (obj == null) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (!(this.getClass() == obj.getClass())) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
|
||
|
|
Return3 other = (Return3) obj;
|
||
|
|
if (!(this.a == other.a)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (!(this.b == other.b)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
return true;
|
||
|
|
|
||
|
|
}
|
||
|
|
public final int hashCode() {
|
||
|
|
int hashValue = 1;
|
||
|
|
hashValue = 31 * hashValue + this.a;
|
||
|
|
hashValue = 31 * hashValue + this.b;
|
||
|
|
return hashValue;
|
||
|
|
}
|
||
|
|
|
||
|
|
public static void g(int us, int us1) {
|
||
|
|
|
||
|
|
/* nop */
|
||
|
|
}
|
||
|
|
|
||
|
|
public void f(int i, int j) {
|
||
|
|
boolean b = i < j;
|
||
|
|
if (b) {
|
||
|
|
Return3.g(i, j);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|