Examples of visit()


Examples of org.openrdf.query.algebra.TupleExpr.visit()

    }
    else {
      // no nested OwnedTupleExpr
      TupleExpr replacement = node.getArg().clone();
      node.replaceWith(replacement);
      replacement.visit(this);
    }
  }

}
View Full Code Here

Examples of org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor.visit()

        @Override
        protected void computeBboxAndCenterScale(Bounds bounds) {
            BoundingXYVisitor v = new BoundingXYVisitor();
            if (bounds != null) {
                v.visit(bounds);
            } else {
                v.computeBoundingBox(dataSet.getNodes());
            }
            // Main.map.mapView.recalculateCenterScale(v);
        }
View Full Code Here

Examples of org.openstreetmap.josm.data.validation.PaintVisitor.visit()

        while (severity != null) {
            Enumeration<DefaultMutableTreeNode> errorMessages = severity.breadthFirstEnumeration();
            while (errorMessages.hasMoreElements()) {
                Object tn = errorMessages.nextElement().getUserObject();
                if (tn instanceof TestError) {
                    paintVisitor.visit(((TestError) tn));
                }
            }

            // Severities in inverse order
            severity = severity.getPreviousSibling();
View Full Code Here

Examples of org.openstreetmap.josm.data.validation.util.AggregatePrimitivesVisitor.visit()

            if (selection.isEmpty()) {
                selection = Main.main.getCurrentDataSet().allNonDeletedPrimitives();
                lastSelection = null;
            } else {
                AggregatePrimitivesVisitor v = new AggregatePrimitivesVisitor();
                selection = v.visit(selection);
                lastSelection = selection;
            }
        } else {
            if (lastSelection == null) {
                selection = Main.main.getCurrentDataSet().allNonDeletedPrimitives();
View Full Code Here

Examples of org.openstreetmap.josm.data.validation.util.MultipleNameVisitor.visit()

            Severity s = (Severity) nodeInfo;
            setIcon(ImageProvider.get("data", s.getIcon()));
        } else if (nodeInfo instanceof TestError) {
            TestError error = (TestError) nodeInfo;
            MultipleNameVisitor v = new MultipleNameVisitor();
            v.visit(error.getPrimitives());
            setText(v.getText());
            setIcon(v.getIcon());
        }
        return this;
    }
View Full Code Here

Examples of org.opentripplanner.routing.spt.EarliestArrivalShortestPathTree.visit()

        pq.insert(initialState, 0);

        while (!pq.empty()) {
            State u = pq.extract_min();
            Vertex u_vertex = u.getVertex();
            if (!spt.visit(u))
                continue;
            Collection<Edge> edges = options.arriveBy ? u_vertex.getIncoming() : u_vertex.getOutgoing();
            for (Edge edge : edges) {
                for (State v = edge.traverse(u); v != null; v = v.getNextResult()) {
                    if (isWorstTimeExceeded(v, options)) {
View Full Code Here

Examples of org.opentripplanner.routing.spt.ShortestPathTree.visit()

        pq.insert(initialState, 0);

        while (!pq.empty()) {
            State u = pq.extract_min();
            Vertex u_vertex = u.getVertex();
            if (!spt.visit(u))
                continue;
            Collection<Edge> edges = options.arriveBy ? u_vertex.getIncoming() : u_vertex.getOutgoing();
            for (Edge edge : edges) {
                for (State v = edge.traverse(u); v != null; v = v.getNextResult()) {
                    if (isWorstTimeExceeded(v, options)) {
View Full Code Here

Examples of org.ow2.asm.AnnotationVisitor.visit()

        // visible class annotation
        cw.visitAnnotation(DEPRECATED, true).visitEnd();

        // invisible class annotation, with values of all types
        av0 = cw.visitAnnotation("Lpkg/Annotation;", false);
        av0.visit("byteValue", new Byte((byte) 0));
        av0.visit("charValue", new Character((char) 48));
        av0.visit("booleanValue", Boolean.FALSE);
        av0.visit("intValue", new Integer(0));
        av0.visit("shortValue", new Short((short) 0));
        av0.visit("longValue", new Long(0L));
View Full Code Here

Examples of org.ow2.asm.ClassAdapter.visit()

                final String signature,
                final String superName,
                final String[] interfaces)
            {
                owner = name;
                cv.visit(version,
                        access,
                        name,
                        signature,
                        superName,
                        interfaces);
View Full Code Here

Examples of org.ow2.asm.ClassVisitor.visit()

    }

    public void testIllegalClassAccessFlag() {
        ClassVisitor cv = new CheckClassAdapter(new EmptyVisitor());
        try {
            cv.visit(V1_1, 1 << 20, "C", null, "java/lang/Object", null);
            fail();
        } catch (Exception e) {
        }
    }
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.