class SeriesRegistry implements Serializable {

    protected List<SeriesBundle<SeriesType, FormatterType>> get(SeriesType series) {
        List<SeriesBundle<SeriesType, FormatterType>> results =
                new ArrayList<>();
        for(SeriesBundle<SeriesType, FormatterType> thisPair : registry) {
            if(thisPair.getSeries() == series) {
                results.add(thisPair);
            }
        }
        return results;
    }

}