public constructor
copy constructor if (source.channelSet != null) channelSet = new ArrayList<WifiChannel>(source.channelSet);
if (source.channelSet != null) channelSet = new ArrayList<WifiChannel>(source.channelSet);
implement Parcelable interface return 0;
return 0;
check for validity for (WifiChannel channel : channelSet) if (!channel.isValid()) return false; return true;
for (WifiChannel channel : channelSet) if (!channel.isValid()) return false; return true;
implement Parcelable interface out.writeInt(channelSet == null ? 0 : channelSet.size()); if (channelSet != null) for (WifiChannel channel : channelSet) channel.writeToParcel(out, flags);
out.writeInt(channelSet == null ? 0 : channelSet.size()); if (channelSet != null) for (WifiChannel channel : channelSet) channel.writeToParcel(out, flags);