超媒网络 v3.0.0版本的 MD5 值为:e72248abb238993f421967424d9a9515
以下内容为反编译后的 nn2.java 源代码,内容仅作参考
package p.a.y.e.a.s.e.net;
import android.os.Bundle;
import android.os.Parcelable;
import android.text.TextUtils;
import com.google.android.material.datepicker.UtcDates;
import java.io.ByteArrayOutputStream;
import java.io.ObjectOutputStream;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.TimeZone;
import java.util.concurrent.CopyOnWriteArrayList;
public abstract class nn2 {
public static final String lite_else = Locale.getDefault().getLanguage().toLowerCase();
private static String lite_goto = null;
public static final DateFormat lite_long;
private static String lite_this;
private static long lite_void;
private List<kn2> lite_byte;
private final Map<String, Object> lite_case;
private qn2 lite_char;
private String lite_do;
private String lite_for;
private String lite_if;
private String lite_int;
private String lite_new;
private String lite_try;
static {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
lite_long = simpleDateFormat;
simpleDateFormat.setTimeZone(TimeZone.getTimeZone(UtcDates.UTC));
lite_this = xn2.lite_do(5) + te2.lite_final;
lite_void = 0L;
}
public nn2() {
this.lite_do = lite_goto;
this.lite_if = null;
this.lite_for = null;
this.lite_int = null;
this.lite_new = null;
this.lite_try = null;
this.lite_byte = new CopyOnWriteArrayList();
this.lite_case = new HashMap();
this.lite_char = null;
}
public nn2(Bundle bundle) {
this.lite_do = lite_goto;
this.lite_if = null;
this.lite_for = null;
this.lite_int = null;
this.lite_new = null;
this.lite_try = null;
this.lite_byte = new CopyOnWriteArrayList();
this.lite_case = new HashMap();
this.lite_char = null;
this.lite_for = bundle.getString("ext_to");
this.lite_int = bundle.getString("ext_from");
this.lite_new = bundle.getString("ext_chid");
this.lite_if = bundle.getString("ext_pkt_id");
Parcelable[] parcelableArray = bundle.getParcelableArray("ext_exts");
if (parcelableArray != null) {
this.lite_byte = new ArrayList(parcelableArray.length);
for (Parcelable parcelable : parcelableArray) {
kn2 lite_for = kn2.lite_for((Bundle) parcelable);
if (lite_for != null) {
this.lite_byte.add(lite_for);
}
}
}
Bundle bundle2 = bundle.getBundle("ext_ERROR");
if (bundle2 != null) {
this.lite_char = new qn2(bundle2);
}
}
public static synchronized String lite_goto() {
String sb;
synchronized (nn2.class) {
StringBuilder sb2 = new StringBuilder();
sb2.append(lite_this);
long j = lite_void;
lite_void = 1 + j;
sb2.append(Long.toString(j));
sb = sb2.toString();
}
return sb;
}
public static String lite_while() {
return lite_else;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
nn2 nn2Var = (nn2) obj;
qn2 qn2Var = this.lite_char;
if (qn2Var == null ? nn2Var.lite_char == null : qn2Var.equals(nn2Var.lite_char)) {
String str = this.lite_int;
if (str == null ? nn2Var.lite_int == null : str.equals(nn2Var.lite_int)) {
if (this.lite_byte.equals(nn2Var.lite_byte)) {
String str2 = this.lite_if;
if (str2 == null ? nn2Var.lite_if == null : str2.equals(nn2Var.lite_if)) {
String str3 = this.lite_new;
if (str3 == null ? nn2Var.lite_new == null : str3.equals(nn2Var.lite_new)) {
Map<String, Object> map = this.lite_case;
if (map == null ? nn2Var.lite_case == null : map.equals(nn2Var.lite_case)) {
String str4 = this.lite_for;
if (str4 == null ? nn2Var.lite_for == null : str4.equals(nn2Var.lite_for)) {
String str5 = this.lite_do;
String str6 = nn2Var.lite_do;
if (str5 != null) {
if (str5.equals(str6)) {
return true;
}
} else if (str6 == null) {
return true;
}
return false;
}
return false;
}
return false;
}
return false;
}
return false;
}
return false;
}
return false;
}
return false;
}
public int hashCode() {
String str = this.lite_do;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
String str2 = this.lite_if;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
String str3 = this.lite_for;
int hashCode3 = (hashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31;
String str4 = this.lite_int;
int hashCode4 = (hashCode3 + (str4 != null ? str4.hashCode() : 0)) * 31;
String str5 = this.lite_new;
int hashCode5 = str5 != null ? str5.hashCode() : 0;
int hashCode6 = (this.lite_case.hashCode() + ((this.lite_byte.hashCode() + ((hashCode4 + hashCode5) * 31)) * 31)) * 31;
qn2 qn2Var = this.lite_char;
return hashCode6 + (qn2Var != null ? qn2Var.hashCode() : 0);
}
public String lite_break() {
return this.lite_for;
}
public synchronized Collection<kn2> lite_byte() {
if (this.lite_byte == null) {
return Collections.emptyList();
}
return Collections.unmodifiableList(new ArrayList(this.lite_byte));
}
public void lite_case(kn2 kn2Var) {
this.lite_byte.add(kn2Var);
}
public void lite_catch(String str) {
this.lite_new = str;
}
public void lite_char(qn2 qn2Var) {
this.lite_char = qn2Var;
}
public String lite_class() {
return this.lite_int;
}
public void lite_const(String str) {
this.lite_for = str;
}
public Bundle lite_do() {
Bundle bundle = new Bundle();
if (!TextUtils.isEmpty(this.lite_do)) {
bundle.putString("ext_ns", this.lite_do);
}
if (!TextUtils.isEmpty(this.lite_int)) {
bundle.putString("ext_from", this.lite_int);
}
if (!TextUtils.isEmpty(this.lite_for)) {
bundle.putString("ext_to", this.lite_for);
}
if (!TextUtils.isEmpty(this.lite_if)) {
bundle.putString("ext_pkt_id", this.lite_if);
}
if (!TextUtils.isEmpty(this.lite_new)) {
bundle.putString("ext_chid", this.lite_new);
}
qn2 qn2Var = this.lite_char;
if (qn2Var != null) {
bundle.putBundle("ext_ERROR", qn2Var.lite_do());
}
List<kn2> list = this.lite_byte;
if (list != null) {
Bundle[] bundleArr = new Bundle[list.size()];
int i = 0;
for (kn2 kn2Var : this.lite_byte) {
Bundle lite_do = kn2Var.lite_do();
if (lite_do != null) {
bundleArr[i] = lite_do;
i++;
}
}
bundle.putParcelableArray("ext_exts", bundleArr);
}
return bundle;
}
public synchronized Collection<String> lite_else() {
if (this.lite_case == null) {
return Collections.emptySet();
}
return Collections.unmodifiableSet(new HashSet(this.lite_case.keySet()));
}
public String lite_final() {
return this.lite_try;
}
public void lite_float(String str) {
this.lite_int = str;
}
public kn2 lite_for(String str, String str2) {
for (kn2 kn2Var : this.lite_byte) {
if (str2 == null || str2.equals(kn2Var.lite_char())) {
if (str.equals(kn2Var.lite_int())) {
return kn2Var;
}
}
}
return null;
}
public kn2 lite_if(String str) {
return lite_for(str, null);
}
public qn2 lite_int() {
return this.lite_char;
}
public String lite_long() {
if ("ID_NOT_AVAILABLE".equals(this.lite_if)) {
return null;
}
if (this.lite_if == null) {
this.lite_if = lite_goto();
}
return this.lite_if;
}
public synchronized Object lite_new(String str) {
Map<String, Object> map = this.lite_case;
if (map == null) {
return null;
}
return map.get(str);
}
public synchronized String lite_short() {
StringBuilder sb;
ByteArrayOutputStream byteArrayOutputStream;
ObjectOutputStream objectOutputStream;
Exception e;
String str;
sb = new StringBuilder();
for (kn2 kn2Var : lite_byte()) {
sb.append(kn2Var.d());
}
Map<String, Object> map = this.lite_case;
if (map != null && !map.isEmpty()) {
sb.append("<properties xmlns=\"http://www.jivesoftware.com/xmlns/xmpp/properties\">");
for (String str2 : lite_else()) {
Object lite_new = lite_new(str2);
sb.append("<property>");
sb.append("<name>");
sb.append(xn2.lite_if(str2));
sb.append("</name>");
sb.append("<value type=\"");
if (lite_new instanceof Integer) {
sb.append("integer\">");
sb.append(lite_new);
str = "</value>";
} else if (lite_new instanceof Long) {
sb.append("long\">");
sb.append(lite_new);
str = "</value>";
} else if (lite_new instanceof Float) {
sb.append("float\">");
sb.append(lite_new);
str = "</value>";
} else if (lite_new instanceof Double) {
sb.append("double\">");
sb.append(lite_new);
str = "</value>";
} else if (lite_new instanceof Boolean) {
sb.append("boolean\">");
sb.append(lite_new);
str = "</value>";
} else if (lite_new instanceof String) {
sb.append("string\">");
sb.append(xn2.lite_if((String) lite_new));
str = "</value>";
} else {
ObjectOutputStream objectOutputStream2 = null;
try {
byteArrayOutputStream = new ByteArrayOutputStream();
try {
objectOutputStream = new ObjectOutputStream(byteArrayOutputStream);
try {
try {
objectOutputStream.writeObject(lite_new);
sb.append("java-object\">");
sb.append(xn2.lite_int(byteArrayOutputStream.toByteArray()));
sb.append("</value>");
try {
objectOutputStream.close();
} catch (Exception unused) {
}
} catch (Throwable th) {
th = th;
objectOutputStream2 = objectOutputStream;
if (objectOutputStream2 != null) {
try {
objectOutputStream2.close();
} catch (Exception unused2) {
}
}
if (byteArrayOutputStream != null) {
try {
byteArrayOutputStream.close();
} catch (Exception unused3) {
}
}
throw th;
}
} catch (Exception e2) {
e = e2;
e.printStackTrace();
if (objectOutputStream != null) {
try {
objectOutputStream.close();
} catch (Exception unused4) {
}
}
if (byteArrayOutputStream == null) {
sb.append("</property>");
}
byteArrayOutputStream.close();
}
} catch (Exception e3) {
e = e3;
objectOutputStream = null;
e = e;
e.printStackTrace();
if (objectOutputStream != null) {
}
if (byteArrayOutputStream == null) {
}
byteArrayOutputStream.close();
} catch (Throwable th2) {
th = th2;
}
} catch (Exception e4) {
e = e4;
byteArrayOutputStream = null;
objectOutputStream = null;
} catch (Throwable th3) {
th = th3;
byteArrayOutputStream = null;
}
try {
byteArrayOutputStream.close();
} catch (Exception unused5) {
}
}
sb.append(str);
sb.append("</property>");
}
sb.append("</properties>");
}
return sb.toString();
}
public void lite_super(String str) {
this.lite_try = str;
}
public String lite_this() {
return this.lite_new;
}
public String lite_throw() {
return this.lite_do;
}
public abstract String lite_try();
public void lite_void(String str) {
this.lite_if = str;
}
}