Examples of apply()


Examples of me.taylorkelly.bigbrother.fixes.Fix5.apply()

        Fix fix3 = new Fix3(getDataFolder()); // 26 Feb
        fix3.apply();
        Fix fix4 = new Fix4(getDataFolder()); // 5 March, 2011 - N3X
        fix4.apply();
        Fix fix5 = new Fix5(getDataFolder()); // 24 March, 2011 - N3X
        fix5.apply();

        // Initialize Permissions, Help
        BBPermissions.initialize(getServer());
        BBHelp.initialize(this);
View Full Code Here

Examples of mikera.vectorz.Op.apply()

    }
  }
 
  @Test public void testSinh() {
    Op op=Ops.SINH;
    assertEquals(0.0,op.apply(0.0),0.0);
  }
 
  private void testDerivativeAt(Op op, double x) {
    double dx=op.derivative(x);
    double epsilon=0.00001;
View Full Code Here

Examples of net.algart.math.functions.LinearOperator.apply()

//                System.out.println("1 frame branch: linear operator " + inverseTransform);
                LinearOperator shift = LinearOperator.getShiftInstance(area.min().coordinates());
                LinearOperator lo = shift.superposition(inverseTransform);
                Func f = Matrices.asInterpolationFunc(m, Matrices.InterpolationMethod.POLYLINEAR_FUNCTION,
                    outsideValue(actualFrames));
                f = lo.apply(f);
                return Matrices.asCoordFuncMatrix(f, requiredType, dimensions);
            }
        }
        if (integerShiftPositions && stitchingMethod instanceof CoordinateFreeStitchingMethod<?>) {
//            System.out.println("coordinate free branch: combining submatrices");
View Full Code Here

Examples of net.fortytwo.ripple.model.StackMapping.apply()

            } else {
                if (0 == f.arity()) {
                    Collector<RippleList> results = new Collector<RippleList>();
                    // Note: synchronous evaluation is required
                    // Note: stack context is trivial
                    f.apply(left.getRest(), results, mc);
                    for (RippleList s : results) {
                        RippleList i = s;
                        RippleList cur = right;
                        while (!cur.isNil()) {
                            i = i.push(cur.getFirst());
View Full Code Here

Examples of net.fortytwo.ripple.query.LazyStackEvaluator.apply()

        boolean a = Ripple.asynchronousQueries();
        Ripple.enableAsynchronousQueries(false);
        try {
            Collector<RippleList> s = new Collector<RippleList>();
            StackEvaluator e = new LazyStackEvaluator();
            e.apply(arg.push(Operator.OP), s, mc);
            int count = s.size();

            solutions.put(
                    arg.getRest().push(
                            mc.valueOf(count)));
View Full Code Here

Examples of net.fortytwo.ripple.query.StackEvaluator.apply()

        boolean a = Ripple.asynchronousQueries();
        Ripple.enableAsynchronousQueries(false);
        try {
            Collector<RippleList> s = new Collector<RippleList>();
            StackEvaluator e = new LazyStackEvaluator();
            e.apply(arg.push(Operator.OP), s, mc);
            int count = s.size();

            solutions.put(
                    arg.getRest().push(
                            mc.valueOf(count)));
View Full Code Here

Examples of net.imglib2.transform.integer.SequentializeTransform.apply()

    source[ 0 ] = 0;
    source[ 1 ] = 0;
    source[ 2 ] = 0;
    source[ 3 ] = 0;
    t.apply( source, target );
    for ( int d = 0; d < 4; ++d )
    {
      expectedSource[ d ] = source[ d ];
      source[ d ] = -1;
    }
View Full Code Here

Examples of net.jxta.membership.MembershipService.apply()

        try {
            AuthenticationCredential authCred = new AuthenticationCredential(
                    _group, null, identityInfo);
            MembershipService membershipService = _group.getMembershipService();
            _authenticator = membershipService.apply(authCred);

            if (_authenticator.isReadyForJoin()) {
                /*_credential = */membershipService.join(_authenticator);
                System.out.println("Info: join group successful.");

View Full Code Here

Examples of net.sf.cb2xml.sablecc.node.Start.apply()

            }
           
            Parser parser = new Parser(lexer);
            Start ast = parser.parse();
            CopybookAnalyzer copyBookAnalyzer = new CopybookAnalyzer(name, parser);
            ast.apply(copyBookAnalyzer);
            document = copyBookAnalyzer.getDocument();
        } catch (Exception e) {
            throw new RuntimeException("fatal parse error\n"
                + (lexer instanceof DebugLexer
                ? "=== buffer dump start ===\n"
View Full Code Here

Examples of net.sf.json.util.PropertyFilter.apply()

   * perform the test
   */
  @Test
  public void testApply() {
    PropertyFilter pf = new NullPropertyFilter();
    Assert.assertTrue(pf.apply(null, null, null));
    JSONArray jsa = new JSONArray();
    Assert.assertTrue(pf.apply(null, null, jsa));
    jsa.add("element");
    Assert.assertFalse(pf.apply(null, null, jsa));
    Assert.assertTrue(pf.apply(null, null, Lists.newArrayList()));
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.