Code example for LinkedList

0
 * @since 2.1.0 
 */ 
public class CustomizersFactory extends AbstractFactory implements PostCompletionFactory { 
 
    public Object newInstance(final FactoryBuilderSupport builder, final Object name, final Object value, final Map attributes) throws InstantiationException, IllegalAccessException {
        return new LinkedList();
    } 
 
    @Override 
    @SuppressWarnings("unchecked") 
    public void setChild(final FactoryBuilderSupport builder, final Object parent, final Object child) {
        if (parent instanceof Collection && child instanceof CompilationCustomizer) {
            ((Collection) parent).add(child);
        } 
    } 
 
 
    @SuppressWarnings("unchecked") 
    public Object postCompleteNode(final FactoryBuilderSupport factory, final Object parent, final Object node) {
        if (node instanceof List) {
            List col = (List) node;