package com.yichao.woo.jvm;
/**
* Created by Yichao-Woo.
*/
final class SetCheck {
private int a = 0;
private long b = 0;
void set() {
a = 1;
b = -1;
}
boolean check() {
return ((b == 0) ||
(b == -1 && a == 1));
}
}