Skip to content

Commit

Permalink
Refactoring conference demos
Browse files Browse the repository at this point in the history
  • Loading branch information
keilw committed Jul 16, 2020
1 parent e1daf7e commit 7d70690
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

import tech.units.indriya.quantity.Quantities;

public class _03_ParseMassAndHeightFromString {
public class _03a_ParseMassAndHeightFromString {

public static void main(String[] args) {
final Quantity<?> mass = Quantities.getQuantity("88 kg");
Expand All @@ -40,6 +40,6 @@ public static void main(String[] args) {
final Quantity<?> bmi = mass.divide(height).divide(height);
System.out.println(bmi);
final Quantity<?> bmi2 = mass.divide(height).divide(height2);
System.out.println(bmi2);
//System.out.println(bmi2);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

import tech.units.indriya.quantity.Quantities;

public class _04_ParseMassAndHeightFromCommandLine {
public class _03b_ParseMassAndHeightFromCommandLine {

public static void main(String[] args) {
final Quantity<?> mass = Quantities.getQuantity(args[0]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

import tech.units.indriya.quantity.Quantities;

public class _05_DefineBmiQuantity {
public class _04a_DefineBmiQuantity {

public static void main(String[] args) {
final Quantity<?> mass = Quantities.getQuantity("88 kg");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import tech.units.indriya.unit.AlternateUnit;
import tech.units.indriya.unit.Units;

public class _06_DefineBmiUnit {
public class _04b_DefineBmiUnit {

public static void main(String[] args) {
final Quantity<?> mass = Quantities.getQuantity("88 kg");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import tech.units.indriya.unit.UnitDimension;
import tech.units.indriya.unit.Units;

public class _07_DetectMassAndHeight {
public class _05_DetectMassAndHeight {

public static void main(String[] args) {
final Quantity<?> first = Quantities.getQuantity("188 cm");
Expand Down

0 comments on commit 7d70690

Please sign in to comment.