source:
other-projects/trunk/greenstone3-extension/mat/org/greenstone/gsdl3_extension/mat/CostModel.java@
17358
Last change on this file since 17358 was 17358, checked in by , 16 years ago | |
---|---|
File size: 318 bytes |
Line | |
---|---|
1 | package org.greenstone.gsdl3_extension.mat; |
2 | |
3 | public class CostModel { |
4 | double cost = 0; |
5 | String target =""; |
6 | |
7 | public String getString(){ |
8 | return target; |
9 | } |
10 | |
11 | public double getCost(){ |
12 | return cost; |
13 | } |
14 | |
15 | public void setCost(double arg){ |
16 | cost = arg; |
17 | } |
18 | |
19 | public void setString(String arg){ |
20 | target = arg; |
21 | } |
22 | |
23 | } |
Note:
See TracBrowser
for help on using the repository browser.