@Test public void testConstructorsWithNull() { this.g = new EventGroup((List<Event>) null); assertNotNull(this.g.getEvents()); assertTrue(this.g.getEvents().isEmpty()); this.g = new EventGroup((Set<Event>) null); assertNotNull(this.g.getEvents()); assertTrue(this.g.getEvents().isEmpty()); this.g = new EventGroup((Event[]) null); assertNotNull(this.g.getEvents()); assertTrue(this.g.getEvents().isEmpty()); }
public Set<Event> getEvents() { Set<Event> clone = new LinkedHashSet<Event>(this.events.size(), 1f); clone.addAll(this.events); return Collections.unmodifiableSet(clone); }
EventGroup { public Set<Event> getEvents() { Set<Event> clone = new LinkedHashSet<Event>(this.events.size(), 1f); clone.addAll(this.events); return Collections.unmodifiableSet(clone); } }
EventGroup { public Set<Event> getEvents() { Set<Event> clone = new LinkedHashSet<Event>(this.events.size(), 1f); clone.addAll(this.events); return Collections.unmodifiableSet(clone); } EventGroup();  EventGroup(List<Event> events);  EventGroup(Set<Event> events);  EventGroup(Event... events); }
EventGroup { public Set<Event> getEvents() { Set<Event> clone = new LinkedHashSet<Event>(this.events.size(), 1f); clone.addAll(this.events); return Collections.unmodifiableSet(clone); } EventGroup();  EventGroup(List<Event> events);  EventGroup(Set<Event> events);  EventGroup(Event... events); Set<Event> getEvents(); void addEvents(Event... events); void clearEvents(); Event getMainEvent(); @Override String toString(); }
EventGroup { public Set<Event> getEvents() { Set<Event> clone = new LinkedHashSet<Event>(this.events.size(), 1f); clone.addAll(this.events); return Collections.unmodifiableSet(clone); } EventGroup();  EventGroup(List<Event> events);  EventGroup(Set<Event> events);  EventGroup(Event... events); Set<Event> getEvents(); void addEvents(Event... events); void clearEvents(); Event getMainEvent(); @Override String toString();  }