Package org.jboss.gwt.circuit

Examples of org.jboss.gwt.circuit.Action


        List<Action> actions = new ArrayList<>(size);

        for (int i = 0; i < size; i++) {
            Op op = Op.values()[random.nextInt(Op.values().length)];
            boolean noop = 1 + random.nextInt(11) % 4 == 4;
            Action action = noop ? new NoopAction() : new TermAction(
                    new Term(1 + random.nextInt(10), op, 1 + random.nextInt(10)));
            actions.add(action);
        }
        return actions;
    }
View Full Code Here


        List<Action> actions = new ArrayList<>(size);

        for (int i = 0; i < size; i++) {
            Op op = Op.values()[random.nextInt(Op.values().length)];
            boolean noop = 1 + random.nextInt(11) % 4 == 4;
            Action action = noop ? new NoopAction() : new Term(1 + random.nextInt(10), op, 1 + random.nextInt(10));
            actions.add(action);
        }
        return actions;
    }
View Full Code Here

TOP

Related Classes of org.jboss.gwt.circuit.Action

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.