public void add ( final Enumeration < T > enumeration ) { if ( allEnumerations . contains ( enumeration ) ) { throw new IllegalArgumentException ( "Duplicate enumeration" ) ; } allEnumerations . add ( enumeration ) ; }
Adds an enumeration to this composite .