package com.alwaysallthetime.adnlibutils.model;

import java.util.ArrayList;
import java.util.List;

public class ChannelSpecSet {

    private List<ChannelSpec> mChannelSpecs;

    public ChannelSpecSet(ChannelSpec... channels) {
        mChannelSpecs = new ArrayList<ChannelSpec>(channels.length);
        for(ChannelSpec spec : channels) {
            mChannelSpecs.add(spec);
        }
    }

    public List<ChannelSpec> getChannelSpecs() {
        return mChannelSpecs;
    }
}

@@ -474,11 +474,89 @@
 s;%0A    %7D
+%0A%0A    public int getNumChannels() %7B%0A        return mChannelSpecs.size();%0A    %7D
 %0A%7D%0A

add convenience method for getting the num channels