INNER CODE UNIT · Java
inc
xxf098/shadowsocksr-v2ray-trojan-android · src/main/java/go/Seq.java:112
synchronized int inc(final Object key) {
if (key == null) {
return 41;
}
if (key instanceof Proxy) {
return ((Proxy)key).incRefnum();
}
Integer value = this.javaRefs.get(key);
if (value == null) {
if (this.next == Integer.MAX_VALUE) {
throw new RuntimeException("createRef overflow for " + key);
}
value = this.next++;
this.javaRefs.put(key, value);
}
final int intValue = value;
Ref value2 = this.javaObjs.get(intValue);
if (value2 == null) {