@ SuppressWarnings ( "unchecked" ) public T add ( YamlNode value ) { // small protection: adding this to a collection added to this still works if ( value == this ) { throw new IllegalArgumentException ( "recursive structures are currently not supported" ) ; } value ( ) . add ( YamlNodes . nullToNode ( value ) ) ; return ( T ) this ; }
Adds the specified value to this sequence .