百草园 v7.5版本的 MD5 值为:17f49811374a404d232d5b2cc35bf30f

以下内容为反编译后的 aX.java 源代码,内容仅作参考


package com.baidu.cyberplayer.utils;

import java.net.InetAddress;
import java.util.Vector;

public class aX extends Vector {
    private int a;

    private String f454a;

    private InetAddress[] f455a;
    private String b;

    public aX() {
        this.f455a = null;
        this.f454a = "239.255.255.250";
        this.b = aL.a();
        this.a = 1900;
    }

    public aX(InetAddress[] inetAddressArr, int i, String str, String str2) {
        this.f455a = null;
        this.f454a = "239.255.255.250";
        this.b = aL.a();
        this.a = 1900;
        this.f455a = inetAddressArr;
        this.a = i;
        this.f454a = str;
        this.b = str2;
    }

    public aW a(int i) {
        return (aW) get(i);
    }

    public void a() {
        int size = size();
        for (int i = 0; i < size; i++) {
            a(i).b();
        }
        clear();
    }

    public void a(InterfaceC0087ay interfaceC0087ay) {
        int size = size();
        for (int i = 0; i < size; i++) {
            a(i).a(interfaceC0087ay);
        }
    }

    public boolean m331a() {
        String[] strArr;
        InetAddress[] inetAddressArr = this.f455a;
        if (inetAddressArr != null) {
            strArr = new String[inetAddressArr.length];
            for (int i = 0; i < inetAddressArr.length; i++) {
                strArr[i] = inetAddressArr[i].getHostAddress();
            }
        } else {
            int a = Q.a();
            strArr = new String[a];
            for (int i2 = 0; i2 < a; i2++) {
                strArr[i2] = Q.a(i2);
            }
        }
        for (int i3 = 0; i3 < strArr.length; i3++) {
            if (strArr[i3] != null) {
                add(Q.m255a(strArr[i3]) ? new aW(strArr[i3], this.a, this.b) : new aW(strArr[i3], this.a, this.f454a));
            }
        }
        return true;
    }

    public void b() {
        int size = size();
        for (int i = 0; i < size; i++) {
            a(i).a();
        }
    }

    public void c() {
        int size = size();
        for (int i = 0; i < size; i++) {
            a(i).b();
        }
    }
}