Package com.opengamma.engine.function.resolver

Examples of com.opengamma.engine.function.resolver.ComputationTargetFilter


      node.setFunction(new MockFunction(target));
      graph.addDependencyNode(node);
    }
    DependencyGraph filtered = graph.subGraph(ApplyToAllTargets.INSTANCE);
    assertEquals(filtered.getDependencyNodes(), graph.getDependencyNodes());
    filtered = graph.subGraph(new ComputationTargetFilter(new DefaultComputationTargetResolver().atVersionCorrection(VersionCorrection.LATEST)) {
      @Override
      public boolean accept(final ComputationTarget target) {
        return target.getUniqueId().getValue().compareTo("5") >= 0;
      }
    });
View Full Code Here

TOP

Related Classes of com.opengamma.engine.function.resolver.ComputationTargetFilter

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.