File tree Expand file tree Collapse file tree
test/java/javax/measure/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 *
4646 * @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
4747 * @author <a href="mailto:units@catmedia.us">Werner Keil</a>
48- * @version 0.13, December 6, 2014
48+ * @version 0.14, June 28, 2016
4949 *
5050 * @see <a href="http://en.wikipedia.org/wiki/Dimensional_analysis">Wikipedia: Dimensional Analysis</a>
5151 */
@@ -89,10 +89,10 @@ public interface Dimension {
8989 Dimension root (int n );
9090
9191 /**
92- * Returns the fundamental dimensions and their exponent whose product is this dimension, or {@code null} if this dimension is a fundamental
92+ * Returns the ( fundamental) base dimensions and their exponent whose product is this dimension, or {@code null} if this dimension is a base
9393 * dimension.
9494 *
9595 * @return the mapping between the fundamental dimensions and their exponent.
9696 */
97- Map <? extends Dimension , Integer > getProductDimensions ();
97+ Map <? extends Dimension , Integer > getBaseDimensions ();
9898}
Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ public void testRoot() {
7777
7878 @ Test
7979 public void testGetProductDimensions () {
80- assertNotNull (sut .getProductDimensions ());
81- assertEquals (1 , sut .getProductDimensions ().size ());
80+ assertNotNull (sut .getBaseDimensions ());
81+ assertEquals (1 , sut .getBaseDimensions ().size ());
8282 }
8383
8484}
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public Dimension root(int i) {
6262 return this ;
6363 }
6464
65- public Map <? extends Dimension , Integer > getProductDimensions () {
65+ public Map <? extends Dimension , Integer > getBaseDimensions () {
6666 final Map <Dimension , Integer > products = new HashMap <Dimension , Integer >();
6767 products .put (this , 1 );
6868 return products ;
You can’t perform that action at this time.
0 commit comments