source:
branches/localSpectral/src/view/VertexLabelTransformer.java
@
33
| Last change on this file since 33 was 27, checked in by , 15 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.
![(please configure the [header_logo] section in trac.ini)](/p/clust/chrome/site/your_project_logo.png)