Package de.javakaffee.web.msm.serializer.TestClasses

Examples of de.javakaffee.web.msm.serializer.TestClasses.Component


       
        return session;
    }

    private static Component createComponents( final int countNodesPerEdge ) {
        final Component root = new Component( "root" );
        for ( int i = 0; i < countNodesPerEdge; i++ ) {
            final Component node = new Component( "child" + i );
            addChildren( node, countNodesPerEdge );
            root.addChild( node );
        }
        return root;
    }
View Full Code Here


        return root;
    }

    private static void addChildren( final Component node, final int count ) {
        for ( int i = 0; i < count; i++ ) {
            node.addChild( new Component( node.getName() + "-" + i ) );
        }
    }
View Full Code Here

TOP

Related Classes of de.javakaffee.web.msm.serializer.TestClasses.Component

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.