diff options
author | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2019-01-25 19:09:47 -0500 |
---|---|---|
committer | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2019-01-25 19:09:47 -0500 |
commit | 8ff06e8e5661645c00656c40d15c8d13db665b57 (patch) | |
tree | 61ac16a6a78f4b2e1ee939e9527a59d9c74c1dd6 /src/unitConverter/unit/Unit.java | |
parent | 43feeeab69b723e02694a2d93eaa44c3007665e1 (diff) |
Added code from the previous implementation of the Unit Converter
It includes:
- a units database to store units
- unit prefix classes
- a unit converter GUI that accepts some unit math
NOTE: A lot of this code will be edited in the near future.
Diffstat (limited to 'src/unitConverter/unit/Unit.java')
-rwxr-xr-x | src/unitConverter/unit/Unit.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unitConverter/unit/Unit.java b/src/unitConverter/unit/Unit.java index 3e7f9da..9e1375a 100755 --- a/src/unitConverter/unit/Unit.java +++ b/src/unitConverter/unit/Unit.java @@ -87,7 +87,7 @@ public interface Unit { * @return base unit associated with this unit * @since 2018-12-22 */ - Unit getBase(); + BaseUnit getBase(); /** * @return dimension measured by this unit |