| changeset 42 | 2bd032a701a7 |
| 41:ce8e85452c3b | 42:2bd032a701a7 |
|---|---|
1 package ru.bosony.graph; |
|
2 |
|
3 import org.apache.commons.collections15.Transformer; |
|
4 |
|
5 /** |
|
6 * @author indvdum (gotoindvdum[at]gmail[dot]com) <br> |
|
7 * 16.07.2012 12:05:51 |
|
8 * |
|
9 * @param <CellsLink> |
|
10 * @param <Double> |
|
11 */ |
|
12 public class CellsLinkTransformer<CellsLink, Double> implements Transformer<CellsLink, Double> { |
|
13 |
|
14 @Override |
|
15 public Double transform(CellsLink input) { |
|
16 return input.getWeight(); |
|
17 } |
|
18 } |