Examples of unapply()


Examples of com.asakusafw.runtime.core.context.RuntimeContext.unapply()

        RuntimeContext rc = RuntimeContext.DEFAULT
            .batchId("b")
            .mode(ExecutionMode.SIMULATION)
            .buildId("OK");
        ExecutionContext context = new ExecutionContext("b", "f", "e", ExecutionPhase.MAIN, map(), rc.unapply());
        execute(context, script, handler);

        Map<String, String> map = new HashMap<String, String>();
        for (String line : getOutput(shell)) {
            if (line.trim().isEmpty()) {
View Full Code Here

Examples of com.asakusafw.runtime.core.context.RuntimeContext.unapply()

            .mode(ExecutionMode.SIMULATION)
            .buildId("OK");
        ExecutionContext context = new ExecutionContext(
                "b", "f", "e", ExecutionPhase.MAIN,
                Collections.<String, String>emptyMap(),
                rc.unapply());

        HadoopScript script = script();
        handler.execute(ExecutionMonitor.NULL, context, script);

        JobScript js = c1.registered.get("testing");
View Full Code Here

Examples of com.asakusafw.runtime.core.context.RuntimeContext.unapply()

        if (verify == Ternary.FALSE) {
            rc = rc.buildId(null);
        }

        result.runtimeContext = rc;
        result.getEnv().putAll(rc.unapply());
    }

    private static void consumeSkipFlows(
            ExecutionTask task,
            Map<String, String> copyDefinitions,
View Full Code Here

Examples of com.asakusafw.runtime.core.context.RuntimeContext.unapply()

        RuntimeContext rc = RuntimeContext.DEFAULT
            .batchId("b")
            .mode(ExecutionMode.SIMULATION)
            .buildId("OK");
        ExecutionContext context = new ExecutionContext("b", "f", "e", ExecutionPhase.MAIN, map(), rc.unapply());
        execute(context, script, handler);

        Map<String, String> map = new HashMap<String, String>();
        for (String line : getOutput(shell)) {
            if (line.trim().isEmpty()) {
View Full Code Here

Examples of com.asakusafw.runtime.core.context.RuntimeContext.unapply()

        RuntimeContext rc = RuntimeContext.DEFAULT
            .batchId("b")
            .mode(ExecutionMode.SIMULATION)
            .buildId("OK");
        ExecutionContext context = new ExecutionContext("b", "f", "e", ExecutionPhase.MAIN, map(), rc.unapply());
        execute(context, script, handler);

        Map<String, String> map = new HashMap<String, String>();
        for (String line : getOutput(shell)) {
            if (line.trim().isEmpty()) {
View Full Code Here

Examples of com.asakusafw.runtime.core.context.RuntimeContext.unapply()

        RuntimeContext rc = RuntimeContext.DEFAULT
            .batchId("b")
            .mode(ExecutionMode.SIMULATION)
            .buildId("OK");
        ExecutionContext context = new ExecutionContext(
                "b", "f", "e", ExecutionPhase.MAIN, map(), rc.unapply());
        execute(context, script, handler);

        Map<String, String> map = new HashMap<String, String>();
        for (String line : getOutput(shell)) {
            if (line.trim().isEmpty()) {
View Full Code Here

Examples of org.grouplens.lenskit.transform.normalize.VectorTransformation.unapply()

        scores.clear();
        algorithm.scoreItems(model, normed, scores, scorer);

        // untransform the scores
        transform.unapply(scores);
    }
}
View Full Code Here

Examples of org.grouplens.lenskit.transform.normalize.VectorTransformation.unapply()

        }

        // Denormalize and return the results
        SparseVector urv = RatingVectorUserHistorySummarizer.makeRatingVector(history);
        VectorTransformation vo = normalizer.makeTransformation(history.getUserId(), urv);
        vo.unapply(scores);
    }

    /**
     * Find the neighbors for a user with respect to a collection of items.
     * For each item, the {@var neighborhoodSize} users closest to the
View Full Code Here

Examples of org.pokenet.server.battle.mechanics.statuses.abilities.IntrinsicAbility.unapply()

          user.getField().showMessage("But it failed!");
          return 0;
        }
        IntrinsicAbility ability = target.getAbility();
        if ((ability != null) && ability.isActive()) {
          ability.unapply(target);
          ability.deactivate();
        }
        user.getField().showMessage(target.getName() + "'s ability was nullified.");
        target.addStatus(user, new StatusEffect() {
          public String getName() {
View Full Code Here

Examples of org.pokenet.server.battle.mechanics.statuses.field.FieldEffect.unapply()

        }
        public void switchIn(Pokemon p) {
            BattleField field = p.getField();
            FieldEffect eff = field.getEffectByType(WeatherEffect.class);
            if (eff != null) {
                eff.unapply(p);
                eff.unapply(p.getOpponent());
            }
        }
        public boolean switchOut(Pokemon p) {
            p.setAbility(null, true);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.