source:
branches/localSpectral/src/view/VertexLabelTransformer.java
@
35
Last change on this file since 35 was 27, checked in by , 14 years ago | |
---|---|
File size: 244 bytes |
Line | |
---|---|
1 | |
2 | |
3 | package view; |
4 | |
5 | import org.apache.commons.collections15.Transformer; |
6 | |
7 | |
8 | public class VertexLabelTransformer<V,String> implements Transformer<V,String>{ |
9 | |
10 | public String transform(V vertex) { |
11 | return (String) vertex.toString(); |
12 | } |
13 | |
14 | } |
Note: See TracBrowser
for help on using the repository browser.