public OrFilter(PacketFilter filter1, PacketFilter filter2) { if (filter1 == null || filter2 == null) { throw new IllegalArgumentException("Parameters cannot be null."); } size = 2; filters = new PacketFilter[2]; filters[0] = filter1; filters[1] = filter2;
public OrFilter() { size = 0; filters = new PacketFilter[3];
    public OrFilter(PacketFilter filter1, PacketFilter filter2) {        if (filter1 == null || filter2 == null) {            throw new IllegalArgumentException("Parameters cannot be null.");        }        size = 2;        filters = new PacketFilter[2];        filters[0] = filter1;        filters[1] = filter2;    }