Revision 104,
494 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | package schedframe.resources.units; |
---|
2 | |
---|
3 | import schedframe.scheduling.utils.ResourceParameterName; |
---|
4 | |
---|
5 | public class FreeMemory extends Memory { |
---|
6 | public FreeMemory(Memory m) { |
---|
7 | super(m); |
---|
8 | this.total = m.total; |
---|
9 | this.used = m.used; |
---|
10 | } |
---|
11 | |
---|
12 | public FreeMemory(int total, int used) { |
---|
13 | super(total, used); |
---|
14 | this.unitName = ResourceParameterName.FREEMEMORY; |
---|
15 | } |
---|
16 | |
---|
17 | public FreeMemory(String resId, int total, int used) { |
---|
18 | super(resId, total, used); |
---|
19 | this.unitName = ResourceParameterName.FREEMEMORY; |
---|
20 | } |
---|
21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.