Examples of node()


Examples of org.kohsuke.graphviz.Graph.node()

        }
        for (Entry<P2jLogicalRelationalOperator, Node> e : graphMap.entrySet()) {
            Node node = e.getValue();
            attributeGraphNode(node, e.getKey());
            if (!appendToSubgraph(subgraphs, node, e.getKey())) {
                gv.node(node);
            }
            for (String i : e.getKey().getSuccessors()) {
                P2jLogicalRelationalOperator dst = p2jMap.get(i);
                Edge edge = new Edge(node, graphMap.get(dst));
                gv.edge(edge);
View Full Code Here

Examples of org.neo4j.graphdb.traversal.TraversalBranch.node()

            while ( true )
            {
                TraversalBranch next = current.next();
                if ( next != null )
                {
                    if ( !visitedNodes.contains( next.node().getId() ) )
                    {
                        // Adding the path weight for usage by the WaitingTimeCostEvaluator
                        P newPriority = addPriority( next,
                                currentAggregatedValue,
                                calculateValue( next, currentAggregatedValue ) );
View Full Code Here

Examples of org.openoffice.xmerge.merger.diff.TextNodeEntry.node()

            // will only try to merge if there is a difference in this node
            if (diffCount > orgDiffCount) {

                Debug.log(Debug.INFO, "  There is a difference, doing merge");
                Debug.log(Debug.INFO, "  TextNode name <" +
                  orgTextNode.node().getNodeName() + ">");
                Debug.log(Debug.INFO, "  TextNode value <" +
                  orgTextNode.node().getNodeValue() + ">");
                Debug.log(Debug.INFO, "  TextNode start char <" +
                  orgTextNode.startChar() + "> TextNode end char <" +
                  orgTextNode.endChar() + ">");
View Full Code Here

Examples of org.opentripplanner.updater.PropertiesPreferences.node()

        String[] children = prefs2.childrenNames();
        Arrays.sort(children);
        assertEquals("a", children[0]);
        assertEquals("b", children[1]);
        assertEquals(1, prefs2.getLong("pa", 0));
        assertEquals(2, prefs2.node("a").getLong("pb", 0));
        assertEquals(2, prefs2.node("/a").getLong("pb", 0));
        assertEquals(3, prefs2.node("/a/b").getLong("pc", 0));
        Preferences prefs2a = prefs2.node("/a");
        assertEquals(2, prefs2a.getLong("pb", 0));
        assertEquals(-1, prefs2.node("/a/c").getLong("px", -1));
View Full Code Here

Examples of org.osgi.service.prefs.Preferences.node()

  /* (non-Javadoc)
   * @see org.eclipse.core.runtime.preferences.PreferenceModifyListener#preApply(org.eclipse.core.runtime.preferences.IEclipsePreferences)
   */
  public IEclipsePreferences preApply(IEclipsePreferences node) {
    Preferences instance = node.node(InstanceScope.SCOPE);
    cleanJavaCore(instance.node(JavaCore.PLUGIN_ID));
    return super.preApply(node);
  }
 
  /**
   * Clean imported preferences from obsolete keys.
View Full Code Here

Examples of org.osgi.service.prefs.Preferences.node()

        break;
      }
    }
    final Preferences preferences = getPrefs();
    try {
      preferences.node(id).removeNode();
    } catch (BackingStoreException e) {
      // TODO Error logging
    }
  }
 
View Full Code Here

Examples of org.sgx.yuigwt.yui.graphic.Shape.node()

    diamond1.lineTo(80, 80);
    diamond1.lineTo(60, 60);
    diamond1.end();
   
    //register a clicl listener
    Y.one(diamond1.node()).on("click", new EventCallback() {     
      @Override
      public void call(EventFacade e) {
        Window.alert("clicked");
      }
    });   
View Full Code Here

Examples of org.sindice.siren.analysis.attributes.NodeAttribute.node()

      if (expectedPosIncrs != null) {
        assertEquals(expectedPosIncrs[i], posIncrAtt.getPositionIncrement());
      }

      if (expectedNode != null) {
        assertEquals(expectedNode[i], nodeAtt.node());
      }

      if (expectedPos != null) {
        assertEquals(expectedPos[i], posAtt.position());
      }
View Full Code Here

Examples of org.sindice.siren.index.codecs.siren10.Siren10PostingsReader.Siren10DocsNodesAndPositionsEnum.node()

    final DocsEnum docsEnum = aReader.termDocsEnum(new Term(DEFAULT_TEST_FIELD, new BytesRef("aaa")));
    assertTrue(docsEnum instanceof Siren10DocsEnum);
    final Siren10DocsNodesAndPositionsEnum e = ((Siren10DocsEnum) docsEnum).getDocsNodesAndPositionsEnum();
    assertEquals(-1, e.doc());
    assertEquals(0, e.nodeFreqInDoc());
    assertEquals(node(-1), e.node());

    assertTrue(e.nextDocument());
    assertEquals(0, e.doc());
    assertEquals(2, e.nodeFreqInDoc());
    assertTrue(e.nextNode());
View Full Code Here

Examples of org.sindice.siren.index.codecs.siren10.Siren10PostingsReader.Siren10DocsNodesAndPositionsEnum.node()

    assertTrue(e.nextDocument());
    assertEquals(0, e.doc());
    assertEquals(2, e.nodeFreqInDoc());
    assertTrue(e.nextNode());
    assertEquals(node(1), e.node());
    assertTrue(e.nextNode());
    assertEquals(node(2), e.node());
    assertFalse(e.nextNode());
    assertEquals(DocsAndNodesIterator.NO_MORE_NOD, e.node());
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.