Coverage details for edu.uci.ics.jung.utils.CopyVertexMapper

LineHitsSource
1 /*
2  * Copyright (c) 2003, the JUNG Project and the Regents of the University of
3  * California All rights reserved.
4  *
5  * This software is open-source under the BSD license; see either "license.txt"
6  * or http://jung.sourceforge.net/license.txt for a description.
7  *
8  * Created on Jul 6, 2004
9  */
10 package edu.uci.ics.jung.utils;
11  
12 import edu.uci.ics.jung.graph.ArchetypeGraph;
13 import edu.uci.ics.jung.graph.ArchetypeVertex;
14  
15 /**
16  * A <code>VertexMapper</code> implementation that respects the vertex
17  * equality reflected by <code>ArchetypeVertex.getEqualVertex</code>.
18  *
19  * @author Joshua O'Madadhain
20  */
21 public class CopyVertexMapper extends AbstractVertexMapper
22 {
23     public CopyVertexMapper(ArchetypeGraph dest)
24     {
250        super(dest);
260    }
27     
28     /**
29      * @see VertexMapper#getMappedVertex(edu.uci.ics.jung.graph.ArchetypeVertex)
30      */
31     public ArchetypeVertex getMappedVertex(ArchetypeVertex v)
32     {
330        return v.getEqualVertex(dest);
34     }
35 }

this report was generated by version 1.0.5 of jcoverage.
visit www.jcoverage.com for updates.

copyright © 2003, jcoverage ltd. all rights reserved.
Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.