| 700 | private static final class Speed { |
| 701 | static Converter fromKilometersPerHour(double kph) { |
| 702 | return new Converter(kph * 0.621371); |
| 703 | } |
| 704 | static Converter fromMilesPerHour(double mph) { |
| 705 | return new Converter(mph); |
| 706 | } |
| 707 | |
| 708 | static Converter fromKnots(double knots) { |
| 709 | return new Converter(knots * 1.15078); |
| 710 | } |
| 711 | |
| 712 | static final class Converter { |
| 713 | final double mMph; |
| 714 | |
| 715 | Converter(double mph) { |
| 716 | mMph = mph; |
| 717 | } |
| 718 | |
| 719 | double toMetersPerSecond() { |
| 720 | return mMph / 2.23694; |
| 721 | } |
| 722 | } |
| 723 | } |
| 724 | |
| 725 | /** |
| 726 | * Creates a list that contains all public tags defined in {@link ExifInterface}. |
| 727 | * |
| 728 | * <p> Deprecated tags are not included. |
nothing calls this directly
no outgoing calls
no test coverage detected