summaryrefslogtreecommitdiff
path: root/src/unitConverter/unit/UnitPrefix.java
diff options
context:
space:
mode:
authorAdrien Hopkins <adrien.p.hopkins@gmail.com>2019-01-25 19:09:47 -0500
committerAdrien Hopkins <adrien.p.hopkins@gmail.com>2019-01-25 19:09:47 -0500
commit8ff06e8e5661645c00656c40d15c8d13db665b57 (patch)
tree61ac16a6a78f4b2e1ee939e9527a59d9c74c1dd6 /src/unitConverter/unit/UnitPrefix.java
parent43feeeab69b723e02694a2d93eaa44c3007665e1 (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/UnitPrefix.java')
-rwxr-xr-xsrc/unitConverter/unit/UnitPrefix.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unitConverter/unit/UnitPrefix.java b/src/unitConverter/unit/UnitPrefix.java
index 0dbdc00..cb50fd9 100755
--- a/src/unitConverter/unit/UnitPrefix.java
+++ b/src/unitConverter/unit/UnitPrefix.java
@@ -24,8 +24,8 @@ package unitConverter.unit;
*/
public interface UnitPrefix {
/**
- * @return value of this prefix
+ * @return this prefix's multiplier
* @since 2019-01-14
*/
- double getValue();
+ double getMultiplier();
}