@@ -0,0 +1,1180 @@
+/*%0D%0A Copyright 2016 Battams, Derek%0D%0A %0D%0A%09Licensed under the Apache License, Version 2.0 (the %22License%22);%0D%0A%09you may not use this file except in compliance with the License.%0D%0A%09You may obtain a copy of the License at%0D%0A %0D%0A%09%09http://www.apache.org/licenses/LICENSE-2.0%0D%0A %0D%0A%09Unless required by applicable law or agreed to in writing, software%0D%0A%09distributed under the License is distributed on an %22AS IS%22 BASIS,%0D%0A%09WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0D%0A%09See the License for the specific language governing permissions and%0D%0A%09limitations under the License.%0D%0A*/%0D%0Apackage com.github.livepvrdata.dao;%0D%0A%0D%0Aimport java.util.Set;%0D%0A%0D%0Afinal public class EventParticipantMap %7B%0D%0A%0D%0A%09private String name;%0D%0A%09private Set%3CString%3E alternatives;%0D%0A%09%09%0D%0A%09public EventParticipantMap(String name, Set%3CString%3E alts) %7B%0D%0A%09%09if(name == null %7C%7C name.length() == 0)%0D%0A%09%09%09throw new IllegalArgumentException(%22Map key cannot be null nor zero-length!%22);%0D%0A%09%09this.name = name;%0D%0A%09%09this.alternatives = alts;%0D%0A%09%7D%0D%0A%09%0D%0A%09public String getName() %7B return name; %7D%0D%0A%09public Set%3CString%3E getAlternatives() %7B return alternatives; %7D%0D%0A%09public int getNumberOfAlternatives() %7B return alternatives.size(); %7D%0D%0A%7D

Add EventParticipantMap