View Javadoc
1   package edu.uci.ics.jung.io.graphml;
2   
3   import com.google.common.base.Function;
4   
5   public class DummyVertex extends DummyGraphObjectBase {
6       
7       public static class Factory implements Function<NodeMetadata, DummyVertex> {
8           int n = 0;
9   
10          public DummyVertex apply(NodeMetadata md) {
11              return new DummyVertex(n++);
12          }
13      }
14      
15      public DummyVertex() {
16      }
17  
18      public DummyVertex(int v) {
19          super(v);
20      }
21  }